diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-08-06 10:47:20 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-08-06 10:47:20 +0200 |
commit | 3ddfd9f91a143271b81fd554a611e029ed643794 (patch) | |
tree | aefb51d83854dc8527e45ec9d0f07cc7f65a5b10 | |
parent | e17e25cd23e8abd45b1706463dd57c90fa6dcb7c (diff) | |
download | rails-3ddfd9f91a143271b81fd554a611e029ed643794.tar.gz rails-3ddfd9f91a143271b81fd554a611e029ed643794.tar.bz2 rails-3ddfd9f91a143271b81fd554a611e029ed643794.zip |
activerecord: Fix identity for sum of strings3-2-stable-for-hmno
-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 3cd65d0bf5..a76345d2bf 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb @@ -744,7 +744,7 @@ module ActiveRecord def create_database(name, options = {}) options = options.reverse_merge(:encoding => "utf8") - option_string = options.symbolize_keys.sum do |key, value| + option_string = options.symbolize_keys.sum("") do |key, value| case key when :owner " OWNER = \"#{value}\"" |