RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: atoder
Site: http://www.alextoder.com
Check out how I load YAML file config for a basic http authentication in my tutorial http://aflexsystem.com/how-to-create-a-simple-admin-control-panel-with-ruby-on-rails-in-less-than-9-minutes/
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
Check out how I load YAML file config for a basic http authentication in my tutorial
http://aflexsystem.com/how-to-create-a-simple-admin-control-panel-with-ruby-on-rails-in-less-than-9-minutes/
You can use
to check if the file exists first.. and set your heroku variables manually