prevents the database.yml template option from being passed to PGConn

This commit is contained in:
Sean Kirby 2012-02-06 11:19:13 -05:00
parent 6e054b16f4
commit 9ed5a1c8f1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ module ActiveRecord
# Forward any unused config params to PGconn.connect. # Forward any unused config params to PGconn.connect.
[:statement_limit, :encoding, :min_messages, :schema_search_path, [:statement_limit, :encoding, :min_messages, :schema_search_path,
:schema_order, :adapter, :pool, :wait_timeout, :schema_order, :adapter, :pool, :wait_timeout, :template,
:reaping_frequency].each do |key| :reaping_frequency].each do |key|
conn_params.delete key conn_params.delete key
end end