RE: Validation issues


I don’t understand. I am putting in bad values so I can errors and view
them. Where would I put @focuses = Focus.find :all?


Because you are redisplaying to form for the user to correct right?
And in that form you have a select box for those values right? Well,
you need values to select from! It has nothing to do with validations
at all, but with just the way rails works.

You are making a new request, the old values from your previous
request aren’t saved and need to be reloaded.



insert the line just before your

render :action => …

that causes the page to reload.