Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Database creation for jdbcpostgresql #jruby

  • Loading branch information...
commit 253ba7779e62b334767b5b21f1811afcd0cb054d 1 parent 16d3266
Arun Agrawal arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/railties/databases.rake
2  activerecord/lib/active_record/railties/databases.rake
View
@@ -100,7 +100,7 @@ db_namespace = namespace :db do
$stderr.puts "(if you set the charset manually, make sure you have a matching collation)" if config['charset']
end
end
- when 'postgresql'
+ when /postgresql/
@encoding = config['encoding'] || ENV['CHARSET'] || 'utf8'
begin
ActiveRecord::Base.establish_connection(config.merge('database' => 'postgres', 'schema_search_path' => 'public'))
Please sign in to comment.
Something went wrong with that request. Please try again.