pundit breaking changes
pundit 2.0.0.beta1 (July 21, 2018) is its newest release with breaking changes, 3 of them. The first: Policy action is now taken from action_name instead of params[:action] in pundit 2.0.0.beta1. Every breaking API change we have recorded in pundit on RubyGems: 7 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 2.5.2. Source repository
Its 1.0.0 release drops Ruby 1.9.3. Ruby end of life dates.
- From 1.0.0 to 2.0.0.beta1: 3 breaking changes in 1 version.
pundit 2.0.0.beta1 breaking changes
- Behavior changed
Pundit now reads the current action from action_name rather than params[:action]. Code that depended on params[:action] to pick the policy method may behave differently. github.com - Behavior changed
authorize
When a namespaced array is passed to authorize, only its last element is now given to the policy and scope. Check code that relied on the earlier namespace handling. github.com - Behavior changed
InvalidConstructorError
Calling a policy or policy scope whose constructor is invalid now raises InvalidConstructorError. Code that previously passed silently may now raise. github.com
pundit 1.0.0 breaking changes
- Removed
Ruby 1.9.3 is no longer officially supported. Upgrade Ruby before using this release. github.com - Removed
controller.policy
Setting the policy for the controller directly is gone. Assign policies through controller.policies[record] instead. github.com - Removed
controller.policy_policy
Setting the policy scope for the controller directly is gone. Assign scopes through controller.policy_scopes[scope] instead. github.com - Behavior changed
Policy scopes and policies are cached, so code that relies on fresh instances per call may behave differently. 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.