Displaying 2 results from an estimated 2 matches for "rails_on_rack".
2010 May 25
8
params merge on for every action
hi
i got to merge a hash of parameters for every action for every
controller. the only thing i could image is modifying a super class
method.
so, how could i modify the method that take care of setting up the
parameters? is it ActionController.parameters?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2011 Jan 06
14
Forceing PUST vs. POST in form
I am experimenting with a combined form. I wish to force the HTTP verb
for this form to PUT. However, it always uses POST when submitted and I
cannot determine why.
The view template code is:
<%=form_for( @user,
:html => {
:class => :edit_user_role,
:id => :edit_user_role_form,
:method => :put },
:url => user_roles_url( @user )
)