Flowdock
method

define_callbacks

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: CollectionAssociation
define_callbacks(model, reflection) 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/associations/builder/collection_association.rb, line 26
    def self.define_callbacks(model, reflection)
      super
      name    = reflection.name
      options = reflection.options
      CALLBACKS.each { |callback_name|
        define_callback(model, callback_name, name, options)
      }
    end
Register or log in to add new notes.