module Validations
Ruby on Rails 4.1.16
Active Record Validations
Active Record includes the majority of its validations from ActiveModel::Validations all of which accept the :on argument to define the context where the validations are active. Active Record will always supply either the context of :create or :update dependent on whether the model is a new_record?.
Namespace
Modules
Includes
Extends
Methods (defined here)
Used by
Included by (1)
Methods (inherited)
From ActiveModel::Validations
(4)
- # errors
- # invalid?
- # valid?
- # validates_with
From ActiveSupport::Concern
(2)
From ActiveModel::Callbacks
(1)
From ActiveModel::Translation
(3)
From ActiveModel::Validations::HelperMethods
(10)
From ActiveModel::Naming
(7)
- # model_name
- self. param_key
- self. plural
- self. route_key
- self. singular
- self. singular_route_key
- self. uncountable?
From ActiveSupport::Callbacks
(1)
From ActiveSupport::DescendantsTracker
(7)
- # descendants
- # direct_descendants
- # inherited
- self. clear
- self. descendants
- self. direct_descendants
- self. store_inherited