---
title: "pundit 2.0.0.beta1 Breaking Changes on RubyGems | Since.dev"
description: "What each pundit release removed, renamed or changed: 7 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/pundit
last_updated: 2026-12-04
---

# 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

Latest version `2.5.2`. [Source repository](https://github.com/varvet/pundit)

Its 1.0.0 release drops Ruby 1.9.3. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [1.0.0](#v-1-0-0) to [2.0.0.beta1](#v-2-0-0-beta1): 3 breaking changes in 1 version.

## pundit 2.0.0.beta1 breaking changes

pundit 2.0.0.beta1, released July 21, 2018: 3 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](https://github.com/varvet/pundit/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/varvet/pundit/blob/v2.0.0/CHANGELOG.md)
- **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](https://github.com/varvet/pundit/blob/v2.0.0/CHANGELOG.md)

## pundit 1.0.0 breaking changes

pundit 1.0.0, released April 19, 2015: 4 breaking changes.

- **Removed**  

Ruby 1.9.3 is no longer officially supported. Upgrade Ruby before using this release. [github.com](https://github.com/varvet/pundit/blob/v1.0.0/CHANGELOG.md)
- **Removed** `controller.policy`  

Setting the policy for the controller directly is gone. Assign policies through controller.policies\[record\] instead. [github.com](https://github.com/varvet/pundit/blob/v1.0.0/CHANGELOG.md)
- **Removed** `controller.policy_policy`  

Setting the policy scope for the controller directly is gone. Assign scopes through controller.policy_scopes\[scope\] instead. [github.com](https://github.com/varvet/pundit/blob/v1.0.0/CHANGELOG.md)
- **Behavior changed**  

Policy scopes and policies are cached, so code that relies on fresh instances per call may behave differently. [github.com](https://github.com/varvet/pundit/blob/v1.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
