method

ensure_not_nested

ensure_not_nested()
private

No documentation available.

# File activerecord/lib/active_record/associations/through_association.rb, line 76
        def ensure_not_nested
          if reflection.nested?
            raise HasManyThroughNestedAssociationsAreReadonly.new(owner, reflection)
          end
        end