I\'m trying to learn the life cycle of a rails application. When is application_controller.rb run? Is it just once every time it\'s changed, or on every request?
I want
It is common practice to put initialization stuff in the config/initializers/ directory. This way you can keep your environment.rb files clean(er).
See this post by Ryan Daigle.