class ActiveRecord::Associations::HasManyThroughAssociation
def update_through_counter?(method)
def update_through_counter?(method) case method when :destroy !through_reflection.inverse_updates_counter_cache? when :nullify false else true end end
def update_through_counter?(method) case method when :destroy !through_reflection.inverse_updates_counter_cache? when :nullify false else true end end