Commit 64615cb6f97220554494845b6b2829b924f23741
1 parent
b294e368
Exists in
master
and in
19 other branches
Improved exclude example [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -392,7 +392,7 @@ You can map queries and terms to exclude with: |
392 | 392 | ```ruby |
393 | 393 | exclude_queries = { |
394 | 394 | "butter" => ["peanut butter"], |
395 | - "cream" => ["ice cream"] | |
395 | + "cream" => ["ice cream", "whipped cream"] | |
396 | 396 | } |
397 | 397 | |
398 | 398 | Product.search query, exclude: exclude_queries[query] | ... | ... |