-
Notifications
You must be signed in to change notification settings - Fork 51
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
Fails to load a custom struct through Rails autoloading #83
Comments
Unfortunately, the way that the loading structure works in ROM-repository requires the entities module to already exist; otherwise, it will simply create a new one -- which will kill the Rails The best recommendation I have for you is to create a file
Then |
Did you resolve that ? Edit : It's working with (but not for repository)
|
There is 2 issues :
I'm trying to integrate rom on Rails, for now here my result : https://github.com/xero88/poc-rom-rb |
|
How to reproduce
rails c
:Expected
Some string printed
Actual
Additional info
This seems to be an autoloading issue since setting
config.eager_load
totrue
produces the expected result.The full code of the Rails project can be found here.
The text was updated successfully, but these errors were encountered: