Flowdock
method

define_callbacks

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: Association
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/association.rb, line 87
    def self.define_callbacks(model, reflection)
      add_before_destroy_callbacks(model, reflection) if reflection.options[:dependent]
      Association.extensions.each do |extension|
        extension.build model, reflection
      end
    end
Register or log in to add new notes.