Closed tatarsky-v closed 2 years ago
I used the model from README.md.
class Person < ActiveRecord::Base include Vault::EncryptedModel vault_attribute :ssn end person = Person.new person.ssn = "123-45-6789" person.save #=> true person.ssn_encrypted
And it doesn't works
Person.where(ssn: "123-45-6789")
or
Person.find_by(ssn: "123-45-6789")
https://github.com/hashicorp/vault-rails#searching-encrypted-attributes
I used the model from README.md.
And it doesn't works
or