Closed renchap closed 2 years ago
Hey @renchap, encrypts
uses Active Record encryption in Rails 7. You'll need to use lockbox_encrypts
for now. See #107 for more info.
Thanks, I missed that AR now implements encrypts
and it needed to be renamed 👍
I am trying to update my app to Rails 7 RC1, and I am facing an issue with the fixtures.
I am generating fixture data by calling the
generate_field_ciphertext
as indicated in the README:But I am getting this error when running tests:
My model is very simple:
It worked fine with the current stable Rails, I am not sure what is happening here.