class ActiveRecord::ConnectionNotDefined
Вызывается, когда пул соединений с базой данных запрошен, но не определён.
Атрибуты
connection_name[R]
role[R]
shard[R]
Публичные методы класса
# File activerecord/lib/active_record/errors.rb, line 90 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.