Open olivierobert opened 7 years ago
It's best practive to move all config variables to environment variables.
Using figaro, set up the file application.yml and move all config variables to it. Then use Env.fetch('CONFIG_KEY') to use it.
figaro
application.yml
Env.fetch('CONFIG_KEY')
Yes I have been using figaro since the beginning. Since there is no secret except facebook creds; only used in devise.rb
devise.rb
It's best practive to move all config variables to environment variables.
Using
figaro
, set up the fileapplication.yml
and move all config variables to it. Then useEnv.fetch('CONFIG_KEY')
to use it.