README.md in blind_index-2.1.1 vs README.md in blind_index-2.2.0
- old
+ new
@@ -294,16 +294,16 @@
Unfortunately, blind indexes can’t be used for `LIKE`, `ILIKE`, or full-text searching. Instead, records must be loaded, decrypted, and searched in memory.
For `LIKE`, use:
```ruby
-User.find { |u| u.email.include?("value") }
+User.select { |u| u.email.include?("value") }
```
For `ILIKE`, use:
```ruby
-User.find { |u| u.email =~ /value/i }
+User.select { |u| u.email =~ /value/i }
```
For full-text or fuzzy searching, use a gem like [FuzzyMatch](https://github.com/seamusabshere/fuzzy_match):
```ruby