class

ActiveRecord::Errors

rails latest stable - Superclass: Object

Class deprecated or moved

This class is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

Active Record validation is reported to and from this object, which is used by Base#save to determine whether the object is in a valid state to be saved. See usage example in Validations.

Included modules

  • Enumerable

Files

  • activerecord/lib/active_record/validations.rb