[Rails-core] Re: Accepting JSON in requests

2007-12-11 Thread Assaf Arkin
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 w

[Rails-core] Re: Accepting JSON in requests

2007-10-28 Thread Rick Olson
> 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

[Rails-core] Re: Accepting JSON in requests

2007-10-25 Thread Assaf Arkin
On 10/25/07, Rick Olson <[EMAIL PROTECTED]> wrote: > > > Allright, we've been going back and forth on > http://dev.rubyonrails.org/ticket/9935, and I'd like to get some more > comments, primarily from folks using or implementing JSON rest APIs. > I personally haven't, because I tend to get a lot of

[Rails-core] Re: Accepting JSON in requests

2007-10-25 Thread Chris Anderson
On Oct 25, 5:59 pm, "Rick Olson" <[EMAIL PROTECTED]> wrote: > The goal with the Rails param parsers is to allow the same controller > code to work with multiple formats (html forms, xml, json, yaml, etc). > Also, going with REST best practices would be nice too. This > question is what kept me f