class method
self.connection_handlers
Ruby on Rails 7.0.10
Since v6.1.7.10 Last seen in v7.0.10Available in: v6.1.7.10 v7.0.10
Signature
self.connection_handlers()
No documentation comment.
Source
# File activerecord/lib/active_record/core.rb, line 103
def self.connection_handlers
if ActiveRecord.legacy_connection_handling
else
raise NotImplementedError, "The new connection handling does not support accessing multiple connection handlers."
end
@@connection_handlers ||= {}
end
Defined in activerecord/lib/active_record/core.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Core