Module: WhyValidationsSuckIn96::ActiveRecord::InstanceMethods

Defined in:
lib/whyvalidationssuckin96/rails/active_record.rb

Overview

InstanceMethods

Class Method Summary

Class Method Details

+ (Object) included(klass_or_mod)



44
45
46
47
48
# File 'lib/whyvalidationssuckin96/rails/active_record.rb', line 44

def self.included(klass_or_mod)
  klass_or_mod.module_eval do
    alias_method :valid_without_callbacks?, :valid_with_lifecycle_checking?
  end
end