diff options
author | Nick Sieger <nick@nicksieger.com> | 2008-08-08 00:45:16 -0700 |
---|---|---|
committer | Nick Sieger <nick@nicksieger.com> | 2008-08-29 14:12:11 -0500 |
commit | d7d2d73d88e465cb0c618283862179accd8932e1 (patch) | |
tree | df09c84bf9ea742bf2a8e061e78791d9fca96a02 /activerecord/lib | |
parent | 1712e37c90d0ac74b21589c0ee7b0365cb2b7beb (diff) | |
download | rails-d7d2d73d88e465cb0c618283862179accd8932e1.tar.gz rails-d7d2d73d88e465cb0c618283862179accd8932e1.tar.bz2 rails-d7d2d73d88e465cb0c618283862179accd8932e1.zip |
Fix typo: was using brackets instead of parens. Must need more sleep.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb index 1d7efc89e1..988f85e909 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb @@ -266,7 +266,7 @@ module ActiveRecord end def checkout_existing_connection - c = [@connections - @checked_out].first + c = (@connections - @checked_out).first @checked_out << c c end |