attr_encrypted breaking changes
attr_encrypted 4.0.0 (April 6, 2023) is its newest release with breaking changes, 3 of them. The first: Drops support for Rails 3 and Rails 4 in attr_encrypted 4.0.0. Every breaking API change we have recorded in attr_encrypted on RubyGems: 9 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.2.0. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
attr_encrypted 4.0.0 breaking changes
- Removed
Support for Rails 3 and 4 was dropped in this release; apps on those versions must stay on attr_encrypted 3.1.0. github.com - Removed
The gem is no longer signed on release, so users relying on gem signature verification must change their checks. github.com - Removed
encrypted_attributes
Calling encrypted_attributes is no longer supported; use attr_encrypted_encrypted_attributes instead to avoid collision with Active Record 7 native encryption. github.com
attr_encrypted 2.0.0 breaking changes
- Removed
The gem no longer supports Rails below 3.x. Upgrade Rails before using this version. github.com - Removed
The gem no longer supports Ruby below 2.x. Upgrade Ruby before using this version. github.com - Behavior changed
Dynamic finders no longer work in other modes. Use :single_iv_and_salt mode if you rely on them. github.com - Behavior changed
attr_encrypted
Classes that used the module must now extend their class to use it. ORMs remain extended automatically. github.com - Default changed
algorithm
Data encrypted with the new default algorithm differs from earlier defaults, so set the algorithm explicitly if older data must be read. github.com - Default changed
mode
The default mode is now per-attribute IV. Set the mode explicitly if existing data uses another mode. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.