class ActiveRecord::ConnectionNotDefined
Вызывается, когда запрашивается пул подключений к базе данных, но он не определён.
Атрибуты
Общедоступные методы класса
# File activerecord/lib/active_record/errors.rb, line 89 def initialize(message = nil, connection_name: nil, role: nil, shard: nil) super(message) @connection_name = connection_name @role = role @shard = shard end
Вызывает метод суперкласса
ActiveRecord::ConnectionNotEstablished::new
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.