Enable Helper to be monitored.
Opened this issue · 1 comments
shakemurasan commented
It is necessary to monitor Helper before loading Controller.
shakemurasan commented
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