diff options
author | kennyj <kennyj@gmail.com> | 2012-03-15 02:07:01 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2012-03-15 02:07:01 +0900 |
commit | 2d787f89f8ce5ccba93f5de0acc7d52e5a17f7df (patch) | |
tree | 714b3deb1fb44af014ade1d1dbbe75499c12d0b0 /activerecord/lib | |
parent | 35262b7cd2917017cb158e6427d1007089489d33 (diff) | |
download | rails-2d787f89f8ce5ccba93f5de0acc7d52e5a17f7df.tar.gz rails-2d787f89f8ce5ccba93f5de0acc7d52e5a17f7df.tar.bz2 rails-2d787f89f8ce5ccba93f5de0acc7d52e5a17f7df.zip |
Fix GH #5430. A Payload name for schema_search_path should be SCHEMA.
Diffstat (limited to 'activerecord/lib')
-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 |