Displaying 1 result from an estimated 1 matches for "warn_on_find".
2005 Nov 26
0
Model warnings along with Validations
...eptance_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 functions like:
warn_on_find
warn_acceptance_of
warn_each
warn_format_of
warn_length_of
warn_uniqueness_of
two Example of usage in my present project:
1. I am migrating a legacy application with tons of validation errors and
would like to hit the user that there is a problem.
2. To help a legal examiner identify possible prob...