You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to ask if there is any support for the StoreModel attribute with rails ActiveRecord::Encryption.
class User
attribute :contact_info, ContactInfo.to_type
end
class ContactInfo
include StoreModel
attribute :email, :string # Attribute to be encrypted
encrypts :email, deterministic: true, ignore_case: true # From ActiveRecord::Encryption
end
Is there a way to encrypt only the user.contact_info.email?
The text was updated successfully, but these errors were encountered:
Hey hey! I know it works fine with https://github.com/ankane/lockbox, but no one added support for rails encryption. So if you're interested in this functionality — please check what's needed to be done to make it work (I guess we just need to implement a couple of methods) and I'll be there ready to review PR or provide any other help 🙂
Hi, I would like to ask if there is any support for the StoreModel attribute with rails ActiveRecord::Encryption.
Is there a way to encrypt only the
user.contact_info.email
?The text was updated successfully, but these errors were encountered: