Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4910 from sskirby/fixes_regression_in_postgres_te…

…mplate_support

prevents the database.yml template option from being passed to PGConn
  • Loading branch information...
commit 6342cdd6ac7ea07edc3a905cd8ce700f3144c63d 2 parents 6e054b1 + 9ed5a1c
@tenderlove tenderlove authored
View
2  activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
@@ -14,7 +14,7 @@ def postgresql_connection(config) # :nodoc:
# Forward any unused config params to PGconn.connect.
[: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|
conn_params.delete key
end
Please sign in to comment.
Something went wrong with that request. Please try again.