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')
# File lib/mongoid/errors/invalid_field.rb, line 10 def initialize(name) super( translate("invalid_field", { :name => name }) ) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.