Posts by Willow Wallace • 1 point
2 posts
-
0
votes1
answer10
viewsA: Acts_as_indexed . with_query() does not return the expected results in the query
The problem has been fixed by updating all products. Apparently this Gem creates some kind of index when the item is updated. I did it on the Rails console: Produto.all.each do |produto| nome =…
-
0
votes1
answer10
viewsQ: Acts_as_indexed . with_query() does not return the expected results in the query
Good afternoon, I have a method to search for products in the bank that uses the with_query method of Gem acts_as_indexed: Product.with_query(query_text) This generates an SQL query like this:…