diff options
-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}\"" |