RailsCasts Pro episodes are now free!

Learn more or hide this

Alexander Toder's Profile

GitHub User: atoder

Site: http://www.alextoder.com

Comments by Alexander Toder


Check out how I load YAML file config for a basic http authentication in my tutorial

You can use

if File.exists?(File.expand_path('../application.yml', __FILE__))

to check if the file exists first.. and set your heroku variables manually