README.md in mainstreet-0.2.3 vs README.md in mainstreet-0.3.0
- old
+ new
@@ -142,10 +142,10 @@
We recommend encrypting street information and postal code (at the very least) for user addresses. [Lockbox](https://github.com/ankane/lockbox) is great for this. Check out [this article](https://ankane.org/sensitive-data-rails) for more details.
```ruby
class User < ApplicationRecord
- encrypts :street, :postal_code
+ has_encrypted :street, :postal_code
end
```
## Upgrading