forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix rails#50604] Restore compatibility of ARE configs with eager loa…
…ding mode Configure ActiveRecord::Encryption (ARE) on ActiveRecord::Base (AR) loading, so that ARE configs are ready before AR models start using `encrypts` to declare encrypted attributes. This means that you can add ARE configurations in initializers, as long as you don't trigger the loading of ActiveRecord::Base or your AR models in prior initializers.
- Loading branch information
1 parent
95bb5cc
commit 099493a
Showing
3 changed files
with
88 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters