search for: validate_presense_of

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

Did you mean: validate_presence_of
2006 Feb 19
3
Is there a ''right'' way to do _tag field validation?
...ield_tag, etc) to collect form data for fields that don''t represent fields in a model. They do validation manually in the controller, which seems really clunky. Is there any way to normalize the form validation between model input fields and non-model fields? It seems like a waste to have validate_presense_of() and then write a whole nother set of validation functions to validate the tag fields. For example, say I have a log in page that just has two input fields, neither of which correspond to an actual table or row because I call some other method to verify the login and password. Is there anyway th...