method
callbacks_for
callbacks_for(callback_name)
private
Hide source
# File activerecord/lib/active_record/associations/association_collection.rb, line 544 def callbacks_for(callback_name) full_callback_name = "#{callback_name}_for_#{@reflection.name}" @owner.class.read_inheritable_attribute(full_callback_name.to_sym) || [] end