2010年3月10日 星期三

Bootstrap Initializer

Bootstrap Initializer
The files in config/initializers are loaded after Rails' environment is loaded (including environment.rb). However, there's a pre-environment
hook provided for you should you need to do things prior to Rails' environment getting in the mix: just create a config/preinitializer.rb file.

This file is loaded after the Rails classes are loaded but before the environment file and the environment configuration.

沒有留言: