From 25044b54b5409cb20cca3591d333d9e5580f0dfd Mon Sep 17 00:00:00 2001 From: Guangjun Ma Date: Fri, 11 Feb 2011 07:36:36 +0900 Subject: [PATCH] deploy to heroku --- service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service.rb b/service.rb index f86d4a5..10ab023 100644 --- a/service.rb +++ b/service.rb @@ -19,8 +19,8 @@ # TIP: You can get you database information # from ENV['DATABASE_URI'] (see /env route below) - databases = YAML.load_file("config/database.yml") - ActiveRecord::Base.establish_connection(databases[ENV["RACK_ENV"]]) + #databases = YAML.load_file("config/database.yml") + #ActiveRecord::Base.establish_connection(databases[ENV["RACK_ENV"]]) #logger = Logger.new("log.txt") #logger.info("#{ENV["RACK_ENV"]}") end