diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2013-03-15 19:20:53 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2013-03-15 19:20:53 -0500 |
commit | 79af9e938f0265af748cca8816137536e0c723a6 (patch) | |
tree | f9adbe75f3f6e4fd652b5fb3d6897afb1f22485f /activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | |
parent | 65d681f5e351fa7c7d117ecebe8b7a95f9ebea8d (diff) | |
download | rails-79af9e938f0265af748cca8816137536e0c723a6.tar.gz rails-79af9e938f0265af748cca8816137536e0c723a6.tar.bz2 rails-79af9e938f0265af748cca8816137536e0c723a6.zip |
nodoc AR::ConnectionHandling for adapters [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb index 691b2ab37f..2115d960fa 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -16,7 +16,7 @@ require 'pg' require 'ipaddr' module ActiveRecord - module ConnectionHandling + module ConnectionHandling # :nodoc: VALID_CONN_PARAMS = [:host, :hostaddr, :port, :dbname, :user, :password, :connect_timeout, :client_encoding, :options, :application_name, :fallback_application_name, :keepalives, :keepalives_idle, :keepalives_interval, :keepalives_count, @@ -24,7 +24,7 @@ module ActiveRecord :requirepeer, :krbsrvname, :gsslib, :service] # Establishes a connection to the database that's used by all Active Record objects - def postgresql_connection(config) # :nodoc: + def postgresql_connection(config) conn_params = config.symbolize_keys conn_params.delete_if { |_, v| v.nil? } |