Ordinarily, using form_for(@foo) means that on the back end of the form\'s action, you\'ll have the form data in params[:foo], but in my case I\'d like
form_for(@foo)
params[:foo]
What you are looking for is:
form_for(@foo, :as => :bar)
The documentation for this can be found at:
http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html