---
title: "cancancan 3.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each cancancan release removed, renamed or changed: 4 breaking changes in 1 version on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/cancancan
last_updated: 2026-12-04
---

# cancancan breaking changes

cancancan 3.0.0 (April 3, 2019) is its newest release with breaking changes, 4 of them. The first: Drops support for actions defined without a subject in cancancan 3.0.0. Every breaking API change we have recorded in cancancan on RubyGems: 4 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.7.1`. [Source repository](https://github.com/CanCanCommunity/cancancan)

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

## cancancan 3.0.0 breaking changes

cancancan 3.0.0, released April 3, 2019: 4 breaking changes.

- **Behavior changed**  

Actions declared without a subject are no longer supported, so abilities that rely on them must name a subject. [github.com](https://github.com/CanCanCommunity/cancancan/blob/3.0.0/CHANGELOG.md)
- **Behavior changed**  

When abilities are merged, alias actions are now merged as well, which can change which actions are allowed. [github.com](https://github.com/CanCanCommunity/cancancan/blob/3.0.0/CHANGELOG.md)
- **Behavior changed**  

Associations are no longer eager loaded automatically for ActiveRecord 5.0 and later, so code that relied on that must add its own includes. [github.com](https://github.com/CanCanCommunity/cancancan/blob/3.0.0/CHANGELOG.md)
- **Behavior changed**  

String literals are now frozen throughout the gem, so code that mutates strings it receives from the gem may now fail. [github.com](https://github.com/CanCanCommunity/cancancan/blob/3.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.
