-
Notifications
You must be signed in to change notification settings - Fork 468
Upgrading to rails 7 and thinking sphinx 5.6.0 getting Arel::Visitors::UnsupportedVisitError: Unsupported argument type: NilClass. Construct an Arel node instead. (Arel::Visitors::UnsupportedVisitError) #1267
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
Comments
Please suggest some solution to try. |
Can you confirm what version of |
I tried now joiner 0.5.0 but it is giving below Error
|
Definitely stick with joiner 0.6.0. Can you share your index definition? Do you know which one is causing the problem? I realise the error message doesn't provide any clues - is it possible to comment out most indices, to see whether it's just one that's the cause? |
Thanks for reply it is really helpful to debug further. below index line is causing error below line is present in model This line is in other model
|
This issue occurs when there s default scope and trying to unscope it in association. and same is getting used in indexing |
I am upgrading my project to rails 7.0.8.6 and ruby 3.3.5. I have installed thinking-sphinx 5.6.0. When running indexing i am getting Arel::Visitors::UnsupportedVisitError: Unsupported argument type: NilClass. Construct an Arel node instead. (Arel::Visitors::UnsupportedVisitError)
Same version of sphinx is running on rails 5.2.3 and ruby 2.5.7.
i am not sure if i need do modify anything.
The text was updated successfully, but these errors were encountered: