Exception: Mongoid::Tracking::Errors::AggregationNameDeprecated
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Mongoid::Tracking::Errors::AggregationNameDeprecated
- Defined in:
- lib/mongoid/tracking/errors.rb
Instance Method Summary collapse
-
#initialize(token) ⇒ AggregationNameDeprecated
constructor
A new instance of AggregationNameDeprecated.
- #message ⇒ Object
Constructor Details
#initialize(token) ⇒ AggregationNameDeprecated
Returns a new instance of AggregationNameDeprecated.
26 27 28 |
# File 'lib/mongoid/tracking/errors.rb', line 26 def initialize(token) @token = token end |
Instance Method Details
#message ⇒ Object
29 30 31 |
# File 'lib/mongoid/tracking/errors.rb', line 29 def "Ussing aggregation name '#{@klass}' is deprecated. Please select another name." end |