How to get Form values in RubyOnRails

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

You should get them in params[:login]

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