Module: ConstancyValidation
- Defined in:
- lib/validates_constancy/constancy_validation.rb
Overview
When this module is included in ActiveRecord::Base, the validation method in ConstancyValidation::ClassMethods becomes available to all Active Record models.
Defined Under Namespace
Modules: ClassMethods Classes: OriginalAttributesCapture
Class Method Summary collapse
-
.included(other_module) ⇒ Object
:nodoc:.
Class Method Details
.included(other_module) ⇒ Object
:nodoc:
121 122 123 |
# File 'lib/validates_constancy/constancy_validation.rb', line 121 def self.included(other_module) #:nodoc: other_module.extend ClassMethods end |