class ActiveRecordDoctor::Error::UnrecognizedGlobalSetting
Public Class Methods
new(name, recognized_settings)
click to toggle source
Calls superclass method
# File lib/active_record_doctor/errors.rb, line 193 def initialize(name, recognized_settings) @recognized_settings = recognized_settings super("Global #{name} is unrecognized") end
Public Instance Methods
details()
click to toggle source
# File lib/active_record_doctor/errors.rb, line 198 def details <<-MESSAGE The configuration file set an unrecognized global setting. Please ensure that only recognized global settings are used and retry. Currently recognized global settings are: #{hyphenated_list(@recognized_settings)} MESSAGE end