class Rails::Railtie::Configuration

def before_initialize(&block)

Second configurable block to run. Called before frameworks initialize.
def before_initialize(&block)
  ActiveSupport.on_load(:before_initialize, yield: true, &block)
end