Closed jonathanpeterwu closed 4 years ago
The readme example mentions using this syntax
attr_encryptor :secret_attribute, :another_secret_attribute, secret: 'foo', salt: 'bar'
Based on the src it should be
attr_encryptable :secret_attribute, :another_secret_attribute, secret: 'foo', salt: 'bar'
Thank you @jonathanpeterwu, in the beginning I had few concepts for this gem attr_encryptor naming was used, yet I forgot to change the readme. Thanks again, merged with #12
attr_encryptor
The readme example mentions using this syntax
Based on the src it should be