Initializers

Location

The initializers directory is located at config/initializers.

Usage

Simply add any Ruby file to this directory to be executed as an initializer.

Initializers are loaded before most other application files.

Last updated