Displaying 1 result from an estimated 1 matches for "my_extra".
Did you mean:
cc_extra
2005 Oct 16
13
More than one parameter with link_to_remote
...9;'s the code:
link_to_remote ''some text'',
:update => ''form'',
:method => ''get'',
:url => { :action => ''my_action'', :id =>
@my_object, :extra_param => ''my_extra'' }
The URL I got is: ''/controller/my_action/32?extra_param=my_extra'' (32 is
@my_object''s id) but params[:extra_param] contains ''my_extra?''. Why that
extra question mark?
I think I''m missing something.
Any idea? Thank you in advance...