Module: WhyValidationsSuckIn96::ActiveRecord::InstanceMethods
- Defined in:
- lib/whyvalidationssuckin96/rails/active_record/base_validation_overrides.rb
Overview
InstanceMethods
Class Method Summary
Class Method Details
+ (Object) included(klass_or_mod)
75 76 77 78 79 |
# File 'lib/whyvalidationssuckin96/rails/active_record/base_validation_overrides.rb', line 75 def self.included(klass_or_mod) klass_or_mod.module_eval do alias_method :valid_without_callbacks?, :valid_with_lifecycle_checking? end end |