module BarkestCore::EncryptedFields
Adds helper methods to the model to allow easy manipulation of fields stored as encrypted values.
The encryption password is specified in secrets.yml
.
For a class MyNamespace::MyClass you can specify the encryption password using my_namespace_my_class
or my_class
keys in the appropriate section of secrets.yml
.
If no specific encryption password is provided, then secret_key_base
is used instead.