Joined April 2014
·

Yacobus Reinhart

I simplify a problem with Ruby, NodeJS, or ActionScript
·
Indonesia
·
·
·

I have few comments:

  1. Your latest code is still hardcoded, specially on [Rails.env], you should check https://github.com/laserlemon/figaro, it can automatic load by environment when you call ENV['twitter'] without recall Rails.env

  2. Storing credential information in .yml is old school now. You missed this article, http://12factor.net/config.

  3. I recommend you to use dotenv (.env), you can read https://github.com/bkeepers/dotenv and https://github.com/bkeepers/dotenv-deployment. Read them carefully and you will enrich your knowledges.

cheers ^_^

Achievements
194 Karma
18,997 Total ProTip Views