Skip to content

Commit

Permalink
Read postgresql encoding using string key instead of symbol [#4304 st…
Browse files Browse the repository at this point in the history
…ate:resolved]

Signed-off-by: wycats <wycats@gmail.com>
  • Loading branch information
drichardson authored and wycats committed Apr 1, 2010
1 parent 81e6933 commit e8292ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/railties/databases.rake
Expand Up @@ -84,7 +84,7 @@ namespace :db do
end
end
when 'postgresql'
@encoding = config[:encoding] || ENV['CHARSET'] || 'utf8'
@encoding = config['encoding'] || ENV['CHARSET'] || 'utf8'
schema_search_path = config['schema_search_path'] || 'public'
first_in_schema_search_path = schema_search_path.split(',').first.strip
begin
Expand Down

0 comments on commit e8292ab

Please sign in to comment.