Module: Tyrion::Validations

Defined in:
lib/tyrion/validations.rb

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



3
4
5
6
7
8
# File 'lib/tyrion/validations.rb', line 3

def self.included(receiver)
  receiver.class_eval do
    include ActiveModel::Validations
    include ActiveModel::Conversion
  end
end