Skip to content

Commit

Permalink
fix active record db host
Browse files Browse the repository at this point in the history
  • Loading branch information
bparees committed Oct 30, 2014
1 parent e14ae9b commit e4ec1d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
configure do
ActiveRecord::Base.establish_connection(
:adapter => "mysql2",
:host => "#{ENV["DATABASE_SERVICE_IP_ADDR"]}",
:host => "#{ENV["DATABASE_SERVICE_HOST"]}",
:port => "#{ENV["DATABASE_SERVICE_PORT"]}",
:database => "#{ENV["MYSQL_DATABASE"]}",
:password => "#{ENV["MYSQL_ROOT_PASSWORD"]}"
Expand Down

0 comments on commit e4ec1d9

Please sign in to comment.