For my website when a user creates an account they have to fill out their birthdate using pulldown menus. If a user enters an illegal date the system throws an error before I even get the opportunity to validate the date in the user model on save.
Soon as I do the following in my controller:
@user = User.new(params[:user])
The following error is thrown:
1 error(s) on assignment of multiparameter attributes
How are people handling situations like this… what is the best practice? I don’t personaly want to do validation outside of the model… that would just suck :-p. Thanks for any input you might have!