diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-08 12:11:51 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-03-08 12:11:51 +0000 |
commit | c59bce8596b980535664d0caa5b650384c7a0e91 (patch) | |
tree | 7753dfecd96825f0f3df90d830aaae924106fddf /activerecord | |
parent | 182b3ed70c81ae9450ee8ba7d8939510a19853fe (diff) | |
download | rails-c59bce8596b980535664d0caa5b650384c7a0e91.tar.gz rails-c59bce8596b980535664d0caa5b650384c7a0e91.tar.bz2 rails-c59bce8596b980535664d0caa5b650384c7a0e91.zip |
Fix typo. References #7727, closes #7762.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 0a74c34cd2..02d5be202f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -4,7 +4,7 @@ * Oracle: overflow Time to DateTime. #7718 [Michael Schoen] -* PostgreSQL: don't use async_exec and async_query with postgres-pr. #7727 [flowdelic] +* PostgreSQL: don't use async_exec and async_query with postgres-pr. #7727, #7762 [flowdelic, toolmantim] * Fix has_many :through << with custom foreign keys. #6466, #7153 [naffis, Rich Collins] diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index 1c469f44a1..c4bd2c8a04 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -57,7 +57,7 @@ module ActiveRecord @config = config # Ignore async_exec and async_query with the postgres-pr client lib. - @async = config[:allow_concurrency] && @connection.respond_to(:async_exec) + @async = config[:allow_concurrency] && @connection.respond_to?(:async_exec) configure_connection end |