method
callbacks_for
rails latest stable - Class:
ActiveRecord::Associations::AssociationCollection
callbacks_for(callback_name)private
No documentation available.
# 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