Forum: Ruby on Rails How to get Form values in RubyOnRails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
parikshit (Guest)
on 2006-04-06 11:09
(Received via mailing list)
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
Nuno (Guest)
on 2006-04-06 16:10
You should get them in params[:login]
This topic is locked and can not be replied to.