From 672ebb99e2447aaeace4f02baf674a988db213c4 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Mon, 3 Mar 2014 01:22:08 -0800 Subject: [PATCH] changes for live site --- config/initializers/devise.rb | 2 +- config/initializers/redis.rb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index bd436df1..183e9128 100644 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -10,7 +10,7 @@ Devise.setup do |config| # config.mailer = "Devise::Mailer" if Rails.env.production? - config.secret_key = 'd91ba0da95749174ee2b8922034783cbde4945409ed28b13383e18e72844beb74467f8199e9e216f0687cd2290c6e46bf74da24486d14bba3671d76c5b10c753' + #config.secret_key = 'd91ba0da95749174ee2b8922034783cbde4945409ed28b13383e18e72844beb74467f8199e9e216f0687cd2290c6e46bf74da24486d14bba3671d76c5b10c753' end # ==> ORM configuration diff --git a/config/initializers/redis.rb b/config/initializers/redis.rb index 85937713..3acdbeae 100644 --- a/config/initializers/redis.rb +++ b/config/initializers/redis.rb @@ -1,6 +1,6 @@ -if Rails.env.development? +#if Rails.env.development? $redis = Redis.new(:host => 'localhost', :port=> 6379) -elsif Rails.env.production? - uri = URI.parse(ENV["REDISTOGO_URL"]) - $redis = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password) -end \ No newline at end of file +#elsif Rails.env.production? +# uri = URI.parse(ENV["REDISTOGO_URL"]) +# $redis = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password) +#end \ No newline at end of file