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 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

Aashish Kiran wrote:

What is not working with it? What do you see as the url parameters in the log file (log/development.log)?

Colin