Class Mongoid::Errors::InvalidField
In: lib/mongoid/errors/invalid_field.rb
Parent: MongoidError

This error is raised when trying to create a field that conflicts with a Mongoid internal attribute or method.

@example Create the error.

  InvalidField.new('collection')

Methods

new  

Public Class methods

[Validate]