README.md in crypt_keeper-0.0.1 vs README.md in crypt_keeper-0.0.2
- old
+ new
@@ -19,10 +19,11 @@
## Usage
```ruby
class MyModel < ActiveRecord::Base
- crypt_keeper :field, :other_field, encryptor: Aes, passphrase: 'super_good_password'
+ crypt_keeper :field, :other_field, encryptor: CryptKeeperProviders::Aes,
+ passphrase: 'super_good_password'
end
model = MyModel.new(field: 'sometext')
model.save! #=> Your data is now encrypted
model.field #=> 'sometext'