Commit 2afe08dc35fd205ca2594afd7011a0d7d4933820
1 parent
3242dd3d
Exists in
master
and in
21 other branches
Better example
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
@@ -347,7 +347,7 @@ end | @@ -347,7 +347,7 @@ end | ||
347 | Reindex and search with: | 347 | Reindex and search with: |
348 | 348 | ||
349 | ```ruby | 349 | ```ruby |
350 | -Product.search "milk", boost_where: {user_ids: 8} | 350 | +Product.search "milk", boost_where: {user_ids: current_user.id} |
351 | ``` | 351 | ``` |
352 | 352 | ||
353 | ### Autocomplete | 353 | ### Autocomplete |