method

ensure_mutable

ensure_mutable()
private

No documentation available.

# File activerecord/lib/active_record/associations/through_association.rb, line 74
        def ensure_mutable
          if source_reflection.macro != :belongs_to
            raise HasManyThroughCantAssociateThroughHasOneOrManyReflection.new(owner, reflection)
          end
        end