-
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
Issue with the command to sync the indexes #255
Comments
Hey Kevin, I tried your code (well, without the mount, and aasm and the like). See here: https://gist.github.com/nviennot/9f636ff7ce952ec9e10001e0aabd7a4a When I run
Edit: I'm guessing the model where the index does not appear might not be loaded. Verify tha the model is loaded (you can debug this by putting a |
ok thanks. I will test again as soon as possible with your example. |
Hi, The Which information can i provide you to help me again ? Thanks for your help. |
Create the smallest test case that is able to reproduce the bug, and then I'll be able to help |
Hi, as discussed I have created a test repository to help you to reproduce more easily my issue. Thanks. |
Hey @nviennot, I'm also looking for this issue too. Could you please give your input? Thank you. |
In Rails6, the model may not be loaded during development because the autoloader specification has changed. |
Thank you @extem, I'll try that. |
Hi @extem , We can close this issue for me. kevin. |
@nviennot should the documentation be updated with this option? And the nobrainer post install script to add this option? |
It's probably best to invoke the eager loading of the models (e.g., |
Yes, but I'm more thinking of nobrainer working out-of-the-box with Rails 6. |
Me too, NoBrainer should invoke the proper rails incantation to make sure all models are loaded when needed |
Hi,
i have two models
my first one is "Organiasation"
And a second who is named "Project"
So, in the both models i have one index. When i started with an empty database.
And i use this command to sync the indexes:
i can see only one index created and this one is only the index of
Organisation
and the index of the second model is not created.Thanks.
Regards.
kevin
The text was updated successfully, but these errors were encountered: