protected Method

Validations.validate(

Overwrite this method for validation checks on all saves and use Errors.add(field, msg) for invalid attributes.

Source Code

# File active_record/validations.rb, line 983
def validate #:doc:
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.