This project is archived and is in readonly mode.
Constants no longer available at load in 2.1.0
-
Daniel Lockhart
So after more investigation, it turns out the problem only occurs in plugins as long as you preface the constant with :: (The :: was not necessary pre-2.1.0) The error still occurs when a plugin tries to reference the constant, whether prefixed with :: or not.
A workaround is to use .send :include in the environment.rb.
-
josh
- State changed from new to invalid
- Milestone cleared.
Avoid initializing stuff in environment.rb. Use the initializers folder.