diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-15 10:25:38 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-15 11:12:08 -0700 |
commit | bd3e1ed23ce201dd63bd4ba2cfbfa254f4d36645 (patch) | |
tree | 37f3ca5585041947954909c48bf8dd5d9673baa6 /activerecord/lib/active_record | |
parent | f9181377924a77dff328c49f51b6dc66c4705e2b (diff) | |
download | rails-bd3e1ed23ce201dd63bd4ba2cfbfa254f4d36645.tar.gz rails-bd3e1ed23ce201dd63bd4ba2cfbfa254f4d36645.tar.bz2 rails-bd3e1ed23ce201dd63bd4ba2cfbfa254f4d36645.zip |
Merge pull request #5437 from kennyj/fix_5430
Fix GH #5430. A Payload name for schema_search_path should be SCHEMA.
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb | 2 |
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 470c9c6ef3..7aa7f1ebcf 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -885,7 +885,7 @@ module ActiveRecord # This should be not be called manually but set in database.yml. def schema_search_path=(schema_csv) if schema_csv - execute "SET search_path TO #{schema_csv}" + execute("SET search_path TO #{schema_csv}", 'SCHEMA') @schema_search_path = schema_csv end end |