RE: Validation issues


#1

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?


#2

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.

-Nick


#3

insert the line just before your

else
render :action => …

that causes the page to reload.

Craig