Search code examples
ruby-on-railsinitializer

Creating an initializer


In rails, when creating an initializer, is it as simple as adding a file to the config/initializer director or do I need to make changes elsewhere?

I'm asking because I keep getting errors every time I create an initializer for gems...and not sure if it's because I'm missing a step in creating initializers.


Solution

  • initializers are just files in config/initializers there is no other magic