# File lib/validates_timeliness/active_record/attribute_methods.rb, line 15 def self.included(base) base.extend ClassMethods base.class_eval do alias_method_chain :read_attribute_before_type_cast, :timeliness class << self alias_method_chain :define_attribute_methods, :timeliness end end end