Exception: Mongoid::Errors::NoEnvironment
- Inherits:
-
MongoidError
- Object
- StandardError
- MongoidError
- Mongoid::Errors::NoEnvironment
- Defined in:
- lib/mongoid/errors/no_environment.rb
Overview
Raised when trying to load configuration with no RACK_ENV set
Constant Summary
Constants inherited from MongoidError
Instance Method Summary collapse
-
#initialize ⇒ NoEnvironment
constructor
Create the new no environment error.
Methods inherited from MongoidError
Constructor Details
#initialize ⇒ NoEnvironment
Create the new no environment error.
14 15 16 |
# File 'lib/mongoid/errors/no_environment.rb', line 14 def initialize super(translate("no_environment", {})) end |