Forms Using Rails


#1

Hi,
I want to send parameters from one page to another page.
eg…
I have a Login window, in which I ask for username and password…
I want to pass these values to some other page, where I can use them to
retrieve some row from database…
But I don’t know how to make use of these fields in second form???

Can anybody please help me out!!!

Thanks…


#2

The easiest way is to store them in session variables, like
session[:username]=params[:username]. That way you can access them in
another page.

Kind regards,

Nick S.
http://www.railshostinginfo.com
Compare and review Rails hosting