I am using PgSearch to build both simple and advanced search in a Rails app.
Can I use multi-search and dynamic pg_search_scope in the same model? I want to use the multi-search for the simple search and the dynamic scope for the advanced search among multiple attributes of multiple models.
I tried putting both multisearchable
and dynamic pg_search_scope
as described in the documentation, in my model. But it returns this error "tried to create Proc object without a block"
.
Aucun commentaire:
Enregistrer un commentaire