README.md in blind_index-0.2.0 vs README.md in blind_index-0.2.1
- old
+ new
@@ -120,9 +120,18 @@
attribute :email
blind_index :email, ...
end
```
+## Fixtures
+
+You can use blind indexes in fixtures with:
+
+```yml
+test_user:
+ encrypted_email_bidx: <%= User.compute_email_bidx("test@example.org").inspect %>
+```
+
## History
View the [changelog](https://github.com/ankane/blind_index/blob/master/CHANGELOG.md)
## Contributing