shakemurasan/okuribito_rails

Enable Helper to be monitored.

Opened this issue · 1 comments

It is necessary to monitor Helper before loading Controller.

Probably, it is completed before starting monitoring.

class Railtie < ::Rails::Railtie
    config.after_initialize do
      # .... If eager_load enabled, Helper loading has been completed!
    end
end

So, should use config.before_initialize instead of config.after_initialize