RailsCasts Pro episodes are now free!

Learn more or hide this

Will Leinweber's Profile

GitHub User: will

Site: http://bitfission.com

Comments by Will Leinweber

Avatar

Great screencast as always.

However you should not check configuration, especially secrets, into code.

CopycopterClient.configure do |config|
  config.api_key = ENV['COPYCOPTER_KEY']
  config.host = ENV['COPYCOPTER_HOST']
end

$ heroku config:add COPYCOPTER_KEY=8df4bc164dd COPYCOPTER_HOST=strong-dawn-1901.herokuapp.com