Commit 779c69c82683521b1a7bc0e15166be6d275079e3
1 parent
25626c14
Exists in
master
and in
21 other branches
Fixed autocomplete docs [skip ci]
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
README.md
... | ... | @@ -575,7 +575,7 @@ end |
575 | 575 | Reindex and search with: |
576 | 576 | |
577 | 577 | ```ruby |
578 | -Book.search "tipping poi" | |
578 | +Book.search "tipping poi", match: :word_start | |
579 | 579 | ``` |
580 | 580 | |
581 | 581 | Typically, you want to use a JavaScript library like [typeahead.js](http://twitter.github.io/typeahead.js/) or [jQuery UI](http://jqueryui.com/autocomplete/). | ... | ... |