aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorFrancesco Rodríguez <frodsan@me.com>2018-10-23 14:54:31 +0200
committerGitHub <noreply@github.com>2018-10-23 14:54:31 +0200
commit0e038e17024b31f7f9257be17b39750c3a6e83e1 (patch)
treeaae1a0291ad731d6e67d960e8881f2001de57747 /activerecord
parent732e85e420f9347a190b690c1c7fde02d34d98bf (diff)
downloadrails-0e038e17024b31f7f9257be17b39750c3a6e83e1.tar.gz
rails-0e038e17024b31f7f9257be17b39750c3a6e83e1.tar.bz2
rails-0e038e17024b31f7f9257be17b39750c3a6e83e1.zip
Hide PG::Connection from API docs [ci skip]
Diffstat (limited to 'activerecord')
-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 a280ca500a..a11a786ec7 100644
--- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -5,7 +5,7 @@ gem "pg", ">= 0.18", "< 2.0"
require "pg"
# Use async_exec instead of exec_params on pg versions before 1.1
-class ::PG::Connection
+class ::PG::Connection # :nodoc:
unless self.public_method_defined?(:async_exec_params)
remove_method :exec_params
alias exec_params async_exec