search for: validate_on_find

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

2005 Nov 26
0
Model warnings along with Validations
Hi railers, Is there a simple method to extend Active Record to have similar functionality as the validate functions e.g. validate_on_find validates_acceptance_of validates_each validates_format_of validates_length_of validates_uniqueness_of etc... but only report warning on model attributes instead of errors(). I would like to save the model if there are warning and if the model is invalid (there are errors) do not save. maybe fun...