Make attr_encrypted thread-safe
We ran into issues when encrypting in multiple threads because attr_encrypted instances were sharing one encrypted_attributes hash. This was fixed in https://github.com/attr-encrypted/attr_encrypted/commit/d4ca0e2073ca6ba5035997ce25f7fc0b4bfbe39e but a new version wasn't released. So we need to patch it ourselves here.
Showing
Please register or sign in to comment