Commit 1230bf0063a066d8cf58695a50144259bf659b8f

Authored by Andrew Kane
1 parent 18cce07a

Updated readme

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
@@ -26,8 +26,11 @@ And to query, use: @@ -26,8 +26,11 @@ And to query, use:
26 26
27 ```ruby 27 ```ruby
28 Product.search "2% Milk" 28 Product.search "2% Milk"
  29 +```
  30 +
  31 +or only search specific fields:
29 32
30 -# or search specific fields 33 +```ruby
31 Product.search "Butter", fields: [:name, :brand] 34 Product.search "Butter", fields: [:name, :brand]
32 ``` 35 ```
33 36