instance method
reconnect
Ruby on Rails 8.1.2
Since v7.1.6 Private — implementation detail, not part of the public APISignature
reconnect()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 1153
def reconnect
raise NotImplementedError.new("#{self.class} should define `reconnect` to implement adapter-specific logic for reconnecting to the database")
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_adapter.rb line 1153
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter