aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb2
1 files changed, 1 insertions, 1 deletions
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