Commit 437ddb248961eebdc9ec7c5177e72e7d33ad3d4c

Authored by Andrew
1 parent 6568ac52

Added fields to readme example [skip ci]

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
README.md
... ... @@ -73,7 +73,7 @@ Product.reindex
73 73 And to query, use:
74 74  
75 75 ```ruby
76   -products = Product.search "apples"
  76 +products = Product.search("apples", fields: [:name])
77 77 products.each do |product|
78 78 puts product.name
79 79 end
... ...