On 17 Jun 2009, at 16:11, Mohammad Codecorona wrote:
> > hi every one . i am a newbie in rails . please help me with this > question > > i have a controller named home_page and one action inside it named > index > . in view part of this controller for index action i have a login box > that the user must enter his user name and password to log in into the > site .when users enters > their user name and password and press the login button , the entered > value for user name and password should be passed to an action named > login in other controller named login_manager , my question here is > that > how i can transfer the enterd value of the user name and password from > index view of home_page controller to the login action method of the > login_manager controller ? The browser submits the form contents for you, you can then pick it out of the params hash Fred > Please clarify it with rails code . > thanks a lot and apologize if my question is very primitive.~~> Moya > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

