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 10:25:38 -0700 |
commit | f961ec41d2813ebbd26b9021f3cf64038e15991d (patch) | |
tree | 4eb4c15d58ec3074a54d25a407dbbc415cb47ec4 /activerecord/lib/active_record | |
parent | 8f5f92cf8e96314e96ce38a6c60c64a40c27ae49 (diff) | |
parent | 2d787f89f8ce5ccba93f5de0acc7d52e5a17f7df (diff) | |
download | rails-f961ec41d2813ebbd26b9021f3cf64038e15991d.tar.gz rails-f961ec41d2813ebbd26b9021f3cf64038e15991d.tar.bz2 rails-f961ec41d2813ebbd26b9021f3cf64038e15991d.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 5b7fa029da..10a178e369 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -1006,7 +1006,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 |