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.
Source Code
# File initializer.rb, line 543 def after_initialize(&after_initialize_block) after_initialize_blocks << after_initialize_block if after_initialize_block end
<code/>and<pre/>for code samples.