method

included

rails latest stable - Class: ActiveRecord::Timestamp

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

included(base)
public

No documentation available.

# File activerecord/lib/active_record/timestamp.rb, line 11
    def self.included(base) #:nodoc:
      base.alias_method_chain :create, :timestamps
      base.alias_method_chain :update, :timestamps

      base.class_inheritable_accessor :record_timestamps, :instance_writer => false
      base.record_timestamps = true
    end