Exception: Mongoid::Max::Denormalize::ConfigError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mongoid/max/denormalize/config_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(summary, klass, relation = nil) ⇒ ConfigError

Returns a new instance of ConfigError.



7
8
9
# File 'lib/mongoid/max/denormalize/config_error.rb', line 7

def initialize(summary, klass, relation=nil)
  super("[%s.denormalize%s] %s" % [klass, relation && " :#{relation}", summary])
end