how to pass value to method in controller using button_to_remote button_to_remote ''check avaliability'', :url => { :action => ''check_for_unique_login'', :login => @user.login} above code is not working. -- Posted via http://www.ruby-forum.com/.
Aashish Kiran wrote:> how to pass value to method in controller using button_to_remote > button_to_remote ''check avaliability'', > :url => { :action => ''check_for_unique_login'', :login => > @user.login} > above code is not working.value can be params -- Posted via http://www.ruby-forum.com/.
Aashish Kiran wrote:> Aashish Kiran wrote: >> how to pass value to method in controller using button_to_remote >> button_to_remote ''check avaliability'', >> :url => { :action => ''check_for_unique_login'', :login => >> @user.login} >> above code is not working. > > value can be params-- Posted via http://www.ruby-forum.com/.
2009/9/26 Aashish Kiran <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>:> > how to pass value to method in controller using button_to_remote > button_to_remote ''check avaliability'', > :url => { :action => ''check_for_unique_login'', :login => > @user.login} > above code is not working.What is not working with it? What do you see as the url parameters in the log file (log/development.log)? Colin