-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.1.4 makes eager loading fail #9
Comments
Your application config, please. I have no idea how "eager loading" works. |
Sure please see below Main line for eager load: config.eager_load = true
|
This issue still exists in |
Is there any update to this? |
@coding-bunny Can you provide a minimal Rails 5 app provoking this? I can have a quick look now. |
Euh, exact code needs a bit of time, but in real short:
Some example of one of our FormObjects:
The included module
application.rb
I think i might be able to get everything going again by adding
At the top of our |
Writing that up probably took longer than hacking down the code 😂 Thanks, will check it out. |
BTW, this problem doesn't exist when you use |
at this point I'm open for trying anything to get it to work |
Give me a sample Rails app, the less I have to do the quicker you get a fix. |
I'll try to set something up and post it here as soon as I can |
I've created a new Rails 5 application copying over the minimal parts and it works actually. My guess there's a specific setting that breaks everything in the framework, which I'm going to try and hunt down now |
@coding-bunny Can you jump on https://gitter.im/trailblazer/chat for a few mins, I can help diagnosing. |
joined |
just for reference here:
And this makes the loading errors and undefined consts disappear for us. |
I tried to update from 0.1.2 > 0.1.4
reform
2.2.1
Code:
Got the same error with or without
include
Error Log
The text was updated successfully, but these errors were encountered: