method
callback
callback(method, record)
private
Hide source
# File activerecord/lib/active_record/associations/association_collection.rb, line 430 def callback(method, record) callbacks_for(method).each do |callback| ActiveSupport::Callbacks::Callback.new(method, callback, record).call(@owner, record) end end