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