Hi all,

I have a  app with the /tests/new location which renders the add new
form. This all works perfectly so when i fill the form in it goes
straight into the db but i want the form to store the data in
session[:whateverfield] i.e.

session[:id], session[:title], session[:name], etc

Then pass this the session values to display on a preview info page.
Which then the user can edit the session. Once the form is ok then it
can be submitting to the db.

So i guess the form i have doesn't need to be changed due to the fields
i need are there already but obviously when i press submit button it add
the info to the db and not the session, is there something i have to
change i.e. the form_for link etc.

Any help will be great

Thanks

-- 
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.

Reply via email to