The initializers directory is located at config/initializers.
config/initializers
Simply add any Ruby file to this directory to be executed as an initializer.
Initializers are loaded before most other application files.
Last updated 7 years ago