class ActiveRecordDoctor::Error::ConfigureNotCalled

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/active_record_doctor/errors.rb, line 103
def initialize
  super("The configuration file did not call ActiveRecordDoctor.configuration")
end

Public Instance Methods

details() click to toggle source
# File lib/active_record_doctor/errors.rb, line 107
      def details
        <<-MESSAGE
active_record_doctor configuration is a Ruby script that MUST call
ActiveRecordDoctor.configuration exactly once. That method was NOT called by
the configuration file in use. If you intend to provide custom configuration
then please ensure that method is called. Otherwise, please delete the
configuration file.
        MESSAGE
      end