search for: fairsituation

Displaying 1 result from an estimated 1 matches for "fairsituation".

2006 May 23
2
Overriding validation?
Is there a "normal" way to override the behavior of validator methods (like validates_presence_of) for updates vs. creation? For example, in the AWDR example store program, the User class validates the presence of the password and its length - which makes sense when the user entry is created. But what if you wanted to provide an update form that updates just certain items