[Rails] Re: how to pass value to method in controller

2009-09-26 Thread Colin Law
2009/9/26 Aashish Kiran : > > 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

[Rails] Re: how to pass value to method in controller

2009-09-26 Thread Aashish Kiran
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 para

[Rails] Re: how to pass value to method in controller

2009-09-26 Thread Aashish Kiran
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.rub