On our WorkorderProductWorkstep we set the ransackable_associations like:
// WorkorderProductWorkstep model
belongs_to :product_workstep, class_name: 'Spree::ProductWorkstep'
self.whitelisted_ransackable_associations = ['product_workstep']
this association search is working upto this part.
<%#= f.search_field :product_workstep_name_cont %>
but when we add the associated workstep table like:
<%#= f.search_field :product_workstep_workstep_name_cont %> //workstep is table
we get an error no explicit hash even though we added an association on ProductWorkstep like:
// ProductWorkstep model
belongs_to :workstep, class_name: 'Spree::Workstep'
self.whitelisted_ransackable_associations = ['workstep']
ransack version 1.4.1rails version 4.2.6ruby version 2.3.6
Hello, Ransack team I just wanted to ask if ransack support this deeply nested query.
On our
WorkorderProductWorkstep
we set the ransackable_associations like:this association search is working upto this part.
<%#= f.search_field :product_workstep_name_cont %>
but when we add the associated workstep table like:
<%#= f.search_field :product_workstep_workstep_name_cont %>
//workstep is table we get an errorno explicit hash
even though we added an association onProductWorkstep
like:ransack version 1.4.1
rails version 4.2.6
ruby version 2.3.6