What is supposed to prepend the resource name to the params hash when i submit a get request by form

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

What is supposed to prepend the resource name to the params hash when i submit a get request by form

fugee ohu
When submitting a get request by form my params hash doesn't begin with resource name but instead just with the colomns within the resource

Processing by ItemsController#new as HTML
  Parameters: {"item_type"=>"Pez dispenser", "commit"=>"New item", "utf8"=>"✓"}
Completed 400 Bad Request in 14ms (ActiveRecord: 0.0ms)

I'm expecting item to be prepended before {"item_type"=> ...

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/975d1133-45be-42cc-b48b-4aead5c6ea7c%40googlegroups.com.