From c59bce8596b980535664d0caa5b650384c7a0e91 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Thu, 8 Mar 2007 12:11:51 +0000 Subject: [PATCH] Fix typo. References #7727, closes #7762. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/CHANGELOG | 2 +- .../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