method

callbacks_for

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::AssociationCollection
callbacks_for(callback_name) private

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/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
Register or log in to add new notes.