You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Can you confirm what version of joiner is in your Gemfile.lock file? You will need v0.6.0 for Rails 6+. joiner (0.6.0) is getting used.
I tried now joiner 0.5.0 but it is giving below Error
NoMethodError: undefined method `construct_tables!' for an instance of Joiner::JoinDependency (NoMethodError)
construct_tables! join_root
^^^^^^^^^^^^^^^^^
Did you mean? construct
/home/gaurav/.rvm/gems/ruby-3.3.5/gems/joiner-0.5.0/lib/joiner/join_dependency.rb:4:in `join_association_for'
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
indexes agent_1_wo_cond.company_name, :as => :agent_1_v, :sortable => true
below line is present in model
belongs_to :agent_1_wo_cond, -> { customer_unscoped }, :class_name => 'CompanyDetail', :foreign_key => 'agent_1_id'
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: