Flowdock
method

validate

Importance_0
v1.2.6 - Show latest stable - 0 notes - Class: Person
validate() protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/examples/validation.rb, line 41
    def validate
      errors.add_on_empty(%w(name pass email))
      errors.add("email", "must be valid") unless email_address_valid?
    end
Register or log in to add new notes.