Exception: ActiveRecordDoctor::Error::ConfigureCalledTwice
- Inherits:
-
ActiveRecordDoctor::Error
- Object
- RuntimeError
- ActiveRecordDoctor::Error
- ActiveRecordDoctor::Error::ConfigureCalledTwice
- Defined in:
- lib/active_record_doctor/errors.rb
Instance Attribute Summary
Attributes inherited from ActiveRecordDoctor::Error
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize ⇒ ConfigureCalledTwice
constructor
A new instance of ConfigureCalledTwice.
Methods inherited from ActiveRecordDoctor::Error
Constructor Details
#initialize ⇒ ConfigureCalledTwice
Returns a new instance of ConfigureCalledTwice.
119 120 121 |
# File 'lib/active_record_doctor/errors.rb', line 119 def initialize super("The configuration file called ActiveRecordDoctor.configuration multiple times") end |
Instance Method Details
#details ⇒ Object
123 124 125 126 127 128 129 |
# File 'lib/active_record_doctor/errors.rb', line 123 def details <<-MESSAGE The configuration file in use has called ActiveRecordDoctor.configure more than once but should do so EXACTLY ONCE. Please ensure that method is called exactly once and retry. MESSAGE end |