diff --git a/config/initializers/alchemy.rb b/config/initializers/alchemy.rb index 54dde80..be724de 100644 --- a/config/initializers/alchemy.rb +++ b/config/initializers/alchemy.rb @@ -52,4 +52,6 @@ end end -Alchemy::Modules.register_module(alchemy_module) +Rails.application.config.after_initialize do + Alchemy::Modules.register_module(alchemy_module) +end