Commit 15cf601cf197d0fd3243145950de22a72ca0edab
1 parent
ee3bec96
Exists in
relation
Test first [skip ci]
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
README.md
@@ -147,6 +147,7 @@ Searches return a `Searchkick::Results` object. This responds like an array to m | @@ -147,6 +147,7 @@ Searches return a `Searchkick::Results` object. This responds like an array to m | ||
147 | results = Product.search("milk") | 147 | results = Product.search("milk") |
148 | results.size | 148 | results.size |
149 | results.any? | 149 | results.any? |
150 | +results.first(5) | ||
150 | results.each { |result| ... } | 151 | results.each { |result| ... } |
151 | ``` | 152 | ``` |
152 | 153 |