Flowdock
method

included

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Callbacks
included(base) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/callbacks.rb, line 179
    def self.included(base) #:nodoc:
      base.extend Observable

      [:create_or_update, :valid?, :create, :update, :destroy].each do |method|
        base.send :alias_method_chain, method, :callbacks
      end

      base.send :include, ActiveSupport::Callbacks
      base.define_callbacks *CALLBACKS
    end
Register or log in to add new notes.