chandra chintanippu
2006-Apr-05 18:19 UTC
[Rails] Not able to pass the parameters in Firefox
I have a typical browser issue when using firefox to pass the parameters while using form_remote_tag.But in IE i am able to get these values in the controller but firefox all it is getting in NULL from the form. Appreciate if anybody can help me out. Thanks, Chandra. -- Posted via http://www.ruby-forum.com/.
I''ve got the same problem at the moment, albeit with a normal start_form_tag: start_form_tag({:action=> "index", :project => @project}, :method => ''get'') I want to pass on params[:project] but it doesn''t like it. Works fine with POST. My work around is to use a hidden field in the form: input id="project" name="project" size="50" type="hidden" value"{put @project here}" This works fine. It''s not as elegant, but doesn''t reveal anything that wouldn''t be visible in the form.