Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
These similar methods exist in v7.1.3.2:
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.
Show source
def after_initialize(&after_initialize_block)
after_initialize_blocks << after_initialize_block if after_initialize_block
end