class Mongoid::Errors::InvalidRelation

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

@since 6.0.0