[Ruby] Preserving State
Neil Moomey
neil at motznik.com
Tue Dec 5 11:37:44 PST 2006
Does Rails have some cool feature for preserving state after the first
post? In the past I have used a mixture of hidden form fields, URL get
variables, and cookies to get the job done but I'm wondering if Rails has
something I'm missing? My application needs to be able to remember the
values the user entered in a web form for the second, third, fouth pages etc
when he clicks the Next button. I accomplished what I need by reposting the
variables in hidden fields with the same name. It works great but now I'm
wondering if the smart people from Rails have a better way.
Thanks.
Neil
More information about the Ruby
mailing list