rkorzeniec / simple_encryptable

Simple encryption service, without all the extras, based on Rails functionality
MIT License
16 stars 1 forks source link

README change #11

Closed jonathanpeterwu closed 4 years ago

jonathanpeterwu commented 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'
rkorzeniec commented 4 years ago

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