How can you pass all your params forward with a form_tag?
I’ve tried:
<%= form_tag(:controller => "users", :action => "index", :params => params) %>
<%= form_tag(:controller => "users", :action => "index", :params => params.except(:controller, :action)) %>
How should this work?
The helpers know that
:paramsis special, so they won’t let you set it. Any other name will work fine…Update
Did you realize that even if you were able to set
:paramsthat it wouldn’t overlay on top of yourparamshash in your controller? It would have beenparams[:params]in your next request.It has only just occurred to me that you might have been trying to do this…