class Mongoid::Errors::InvalidField

This error is raised when trying to create a field that conflicts with an already defined method.