Flowdock
method

update_through_counter?

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: ActiveRecord::Associations::HasManyThroughAssociation
update_through_counter?(method) 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/has_many_through_association.rb, line 120
        def update_through_counter?(method)
          case method
          when :destroy
            !inverse_updates_counter_cache?(through_reflection)
          when :nullify
            false
          else
            true
          end
        end
Register or log in to add new notes.