ransack breaking changes
ransack 6.0.0 (October 9, 2026) is its newest release with breaking changes, 11 of them. The first: ransack 6.0.0 drops support for Ruby 3.1. Every breaking API change we have recorded in ransack on RubyGems: 24 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.3. Source repository
Its 6.0.0 release drops Ruby 3.1. Ruby end of life dates.
- From 5.0.0 to 6.0.0: 11 breaking changes in 1 version.
- From 2.0.0 to 6.0.0: 21 breaking changes in 4 versions.
ransack 6.0.0 breaking changes
- Removed
Ruby 3.1 is no longer supported, so users on Ruby 3.1 must move to a newer Ruby. github.com - Removed
ActionView.Helpers.Tags.Base.value
The monkey patch is removed, so code that relied on it must change. github.com - Removed
Polyamorous
Polyamorous is folded into Ransack::ActiveRecord; reference the new module instead. github.com - Removed
Ransack.Adapters
Ransack::Adapters is folded into Ransack::ActiveRecord; reference the new module instead. github.com - Behavior changed
LIKE searches now escape wildcards and emit an ESCAPE clause on all adapters, which can change match results. github.com - Behavior changed
An unknown polymorphic type is treated as an invalid search key rather than being accepted. github.com - Behavior changed
Whitespace is now stripped from nested search params, which changes the values searched. github.com - Behavior changed
In strict mode, a single-value predicate given several values now raises an error. github.com - Behavior changed
An invalid combinator now raises instead of being accepted; combinator case is normalised. github.com - Behavior changed
Blank conditions in the low-level c: API are now removed, which changes the conditions produced. github.com - Behavior changed
sorts=
Assigning sorts= replaces the existing sort list rather than adding to it. github.com
ransack 5.0.0 breaking changes
- Removed
ActionView.Helpers.Tags.Base.value
The monkey patch that ransack added to Rails form tag helpers is gone. Code relying on it must be changed. github.com - Renamed
postgres_fields_sort_option
The option is now called fields_sort_option. The old name still works, but new code should use the new name. github.com - Behavior changed
'OR', :or and 'Or' now mean or instead of AND. Under ransack! or ignore_unknown_conditions: false, an unrecognised combinator raises Ransack::InvalidSearchError. github.com - Behavior changed
cont
The cont predicate and its i_, not_, _any and _all variants now treat % and _ literally. To pass a wildcard pattern, use matches. github.com - Behavior changed
end
The end predicate and its variants now treat % and _ literally. To pass a wildcard pattern, use matches. github.com - Behavior changed
start
The start predicate and its variants now treat % and _ literally. To pass a wildcard pattern, use matches. github.com
ransack 4.0.0 breaking changes
- Removed
Polyamorous
The Polyamorous entrypoint has been removed. Code that loads or references it must stop doing so. github.com - Behavior changed
Ransack now requires attributes and associations to be explicitly allowlisted before they can be used in searches. Existing searches on non-allowlisted attributes must be updated to allow them. github.com
ransack 3.0.0 breaking changes
- Removed
search
The deprecated #search method is removed in this release, so code calling it must be changed. github.com - Behavior changed
ransackable_scopes
Query building now evaluates ransackable_scopes before attributes, which can change the order of evaluation for code that depends on it. github.com
ransack 2.0.0 breaking changes
- Removed
Applications on Active Record earlier than 5.0 must upgrade Active Record before using this version. github.com - Removed
Mongoid support is no longer included; users of Mongoid must install the separate gem instead. github.com - Behavior changed
Scope arguments listed in ransackable_scopes_skip_sanitize_args bypass sanitization, so values like 0, 1, t, f pass through as real parameters. 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.