read
Create a new initializer config/initializers/load_config.rb
with that content:
Then, create a configuration file under config/config.yml
and put in your config properties:
Now you can use the configuration via the APP_CONFIG
constant everywhere in your ruby code: