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
We attempted to upgrade attr_encrypted from 3.1.0 to 4.0.0 but ran into a test failure.
We have a model that has an attr_encrypted column as well as a uuid that is generated on insert by the database. After the upgrade, the uuid column of the model was nil in ruby code, though it was generated properly in the database row. Adding a call to reload before accessing the uuid column fixed the issue.
Rake about says:
Rails version 6.1.7.3
Ruby version ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [arm64-darwin21]
RubyGems version 3.3.26
Rack version 2.2.6.4
The text was updated successfully, but these errors were encountered:
It failed in live code as well, the tests were just what caught it. I will
see if I can provide a repro, unfortunately the test is a feature test with
a lot of state so it will take some effort to make a simple example.
We attempted to upgrade attr_encrypted from 3.1.0 to 4.0.0 but ran into a test failure.
We have a model that has an attr_encrypted column as well as a uuid that is generated on insert by the database. After the upgrade, the uuid column of the model was nil in ruby code, though it was generated properly in the database row. Adding a call to
reload
before accessing the uuid column fixed the issue.Rake about says:
The text was updated successfully, but these errors were encountered: