Commit 1f3c523d3a10367c72874d157f1314fff0496e38

Authored by Andrew Kane
1 parent 7e26d47a

Updated readme [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
README.md
... ... @@ -571,7 +571,7 @@ The best starting point to improve your search **by far** is to track searches a
571 571 [Searchjoy](https://github.com/ankane/searchjoy) makes it easy.
572 572  
573 573 ```ruby
574   -Product.search "apple", track: {user_id: current_user.id}
  574 +Product.search("apple").track(user_id: current_user.id)
575 575 ```
576 576  
577 577 [See the docs](https://github.com/ankane/searchjoy) for how to install and use.
... ...