class Mongoid::Includes::Errors::InvalidPolymorphicIncludes
Public: This error is raised when an invalid nested inclusion is attempted through a polymorphic relation.
Public Instance Methods
type()
click to toggle source
Internal: Key of the translation message
# File lib/mongoid/includes/errors/invalid_polymorphic_includes.rb, line 10 def type :invalid_polymorphic_nested_includes end