class ActiveRecordDoctor::Error::DetectorConfiguredTwice
Public Class Methods
new(detector)
click to toggle source
Calls superclass method
# File lib/active_record_doctor/errors.rb, line 133 def initialize(detector) super("Detector #{detector} was configured multiple times") end
Public Instance Methods
details()
click to toggle source
# File lib/active_record_doctor/errors.rb, line 137 def details <<-MESSAGE The configuration file configured the same detector more than once which is disallowed. Detector configuration should be either: - absent - to use the defaults - present exactly once - to override the defaults Please ensure the detector is configured at most once and retry. MESSAGE end