method

ensure_mutable

ensure_mutable()
private

No documentation available.

# File activerecord/lib/active_record/associations/through_association.rb, line 77
        def ensure_mutable
          unless source_reflection.belongs_to?
            raise HasManyThroughCantAssociateThroughHasOneOrManyReflection.new(owner, reflection)
          end
        end