I'm posting some JSON like the JSON form of {:name => "hello"} to my Rails 3 controller ExampleController.

Instead of getting params like:

{:name => "hello"}

I'm getting:

{:name => "hello", :controller => "example", :action => "index", :example => {:name => "hello"}

(Yes the JSON data appears twice! and action and controller are added)

Any idea why ?

Edit
Report