> _method=put&{ "json": "here" } will never work.
>
> In a query string you need to assign it to something:
>
> eg. _method=put&json={ "json": "here" }
That won't every work either.
In params_parser.rb the request is treated as wholly JSON, wholly XML,
wholly YAML, or wholly whatever.
If it's JSON it doesn't look for params, it just shoves the parsed
lump sum into a param called :_json
I suppose I could patch that to handle this case, but I'm not sure at
what level I should be looking.
But I'm not clear on the flow of the application. At what level is it
deciding on what is an allowed request? and what is the symbol it
expects? :_method => :WHAT???
I tried :_method => 'put' and :_method => :put. Neither worked
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" 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-talk?hl=en.