How to get Form values in RubyOnRails


#1

Hi

I want the FORM values on my controller.i.e. I want the values of
login_loginname(Form variable) and login_password(Form variable) on
login_controller.rb
How can i do that?

Table Name is: logins
Model:: Login.rb
Controller:: login_controller.rb

Below is my test form

loginname

password

Hoping for reply
Regards
Parikshit


#2

You should get them in params[:login]