class

ActiveRecord::ConnectionNotEstablished

v8.0.0 - Show latest stable - Superclass: ActiveRecordError

Raised when connection to the database could not been established (for example when {ActiveRecord::Base.lease_connection=}[rdoc-ref:ConnectionHandling#lease_connection] is given a nil object).

Files

  • activerecord/lib/active_record/errors.rb