method
after_initialize

after_initialize(&after_initialize_block)
public
Adds a block which will be executed after rails has been fully initialized. Useful for per-environment configuration which depends on the framework being fully initialized.