Using the dotenv gem. Secret Keys and whatnot can live in a .env file at the root of the project, and be gitignored. Production versions will either be added to the production environment during deploy, or as part of environment configuration with the host (assuming we have such wiz-bang features wherever we host the app).
https://github.com/bkeepers/dotenv
Using the dotenv gem. Secret Keys and whatnot can live in a .env file at the root of the project, and be gitignored. Production versions will either be added to the production environment during deploy, or as part of environment configuration with the host (assuming we have such wiz-bang features wherever we host the app). https://github.com/bkeepers/dotenv