I have a view that is a form in add.html.erb and in the create method
in the controller I have validation check if everything in the form is
set.  If validation finds an error, I do

render :action => :add

and all the set values are lost.

if I just do "render" or nothing, it defaults to the create view.
Obviously redirect to add didn't work either.

More suggestions?

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