On 10/28/07, Rick Olson <[EMAIL PROTECTED]> wrote: > > The last patch submitted against the ticket allows you to do this: > > It just doesn't feel right to me to depend on your controller name for > this. > > Let's try this as a plugin for now and give it a chance to live in the > wild. If this works out for folks writing JSON APIs, we can look at > including it in a future version. I'd hate to push it off, but this > was brought up so late in the cycle so there's not much time to try it > out.
Bringing this back, I turned the patch into a plugin that you can try out: http://labnotes.org/svn/public/ruby/rails_plugins/json_request A bit more on what it does and make sure it uses the right parameter name: http://blog.labnotes.org/2007/12/11/json_request-handling-json-request-in-rails-20/ Assaf --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
