How to pass value to method in controller

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.

Aashish K. 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

Aashish K. wrote:

Aashish K. 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

2009/9/26 Aashish K. [email protected]:

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs