instance method
set_pool
Ruby on Rails 8.0.4
Since v7.1.6Signature
set_pool(connection_pool)
No documentation comment.
Parameters
-
connection_poolreq
Source
# File activerecord/lib/active_record/errors.rb, line 72
def set_pool(connection_pool)
unless @connection_pool
@connection_pool = connection_pool
end
self
end
Defined in activerecord/lib/active_record/errors.rb line 72
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionNotEstablished