mirror of https://github.com/rails/rails
prevents the database.yml template option from being passed to PGConn
This commit is contained in:
parent
6e054b16f4
commit
9ed5a1c8f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue