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.
9e501a3637249870caa484c751a45995?d=identicon&s=25 parikshit (Guest)
on 2006-04-06 09: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
A5d8283732da86365736508fef6c1c67?d=identicon&s=25 Nuno (Guest)
on 2006-04-06 14:10
You should get them in params[:login]
This topic is locked and can not be replied to.