Exception: ActiveRecordDoctor::Error::DuplicateGlobalSetting
- Inherits:
-
ActiveRecordDoctor::Error
- Object
- RuntimeError
- ActiveRecordDoctor::Error
- ActiveRecordDoctor::Error::DuplicateGlobalSetting
- Defined in:
- lib/active_record_doctor/errors.rb
Instance Attribute Summary
Attributes inherited from ActiveRecordDoctor::Error
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize(name) ⇒ DuplicateGlobalSetting
constructor
A new instance of DuplicateGlobalSetting.
Methods inherited from ActiveRecordDoctor::Error
Constructor Details
#initialize(name) ⇒ DuplicateGlobalSetting
211 212 213 |
# File 'lib/active_record_doctor/errors.rb', line 211 def initialize(name) super("Global #{name} was set twice") end |
Instance Method Details
#details ⇒ Object
215 216 217 218 219 220 221 |
# File 'lib/active_record_doctor/errors.rb', line 215 def details "The configuration file set the same global setting twice. Each global setting\nmust be set AT MOST ONCE. Please ensure all global settings are set at most once\nand retry.\n MESSAGE\nend\n" |