Decryption/CypherError on Rails 7.1 Apps with Encrypted Columns After Upgrading from Previous Versions

from blog Hearthside by Caleb Hearth, | ↗ original
When upgrading to Rails 7.1 with any models using the encrypts macro from ActiveRecord::Encryption, be wary of upgrading the config.load_defaults in config/application.rb from 7.0 to 7.1. The 7.1 defaults for ActiveRecord::Encryption include a combination of settings that can lead to your app...