Module: CouchPotato::Validation
- Defined in:
- lib/couch_potato/validation.rb
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
6 7 8 9 |
# File 'lib/couch_potato/validation.rb', line 6 def self.included(base) #:nodoc: base.send :include, ::ActiveModel::Validations base.send :include, ::ActiveModel::Validations::Callbacks end |