diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-08-31 11:53:50 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-08-31 15:56:27 +0100 |
commit | 221571beb6b4bb7437989bdefaf421f993ab6002 (patch) | |
tree | c546a8b970c4ec8927dfbd287f36eec83d08477e /activerecord/test/cases/transactions_test.rb | |
parent | ae79c7a201f3aeea8919790eca1faa3fb552f88a (diff) | |
download | rails-221571beb6b4bb7437989bdefaf421f993ab6002.tar.gz rails-221571beb6b4bb7437989bdefaf421f993ab6002.tar.bz2 rails-221571beb6b4bb7437989bdefaf421f993ab6002.zip |
Make connection pool retrieval faster
* Loop rather than recurse in retrieve_connection_pool
* Key the hash by class rather than class name. This avoids creating
unnecessary strings.
Diffstat (limited to 'activerecord/test/cases/transactions_test.rb')
0 files changed, 0 insertions, 0 deletions