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

# active_attr breaking changes

active_attr 0.15.0 (June 12, 2019) is its newest release with breaking changes. The first: Numeric typecasters now cast nil and empty strings to nil in active_attr 0.15.0. Every breaking API change we have recorded in active_attr on RubyGems: 19 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.17.2`. [Source repository](https://github.com/cgriego/active%5Fattr)

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

- From [0.3.0](#v-0-3-0) to [0.15.0](#v-0-15-0): 14 breaking changes in 7 versions.

## active_attr 0.15.0 breaking changes

active_attr 0.15.0, released June 12, 2019: 1 breaking change.

- **Behavior changed**  

Numeric typecasters now cast nil and empty strings to nil. Code that relied on the previous casting of these values should be checked. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.15.0/CHANGELOG.md)

## active_attr 0.14.0 breaking changes

active_attr 0.14.0, released June 10, 2019: 4 breaking changes.

- **Removed** `Ruby`  

Ruby versions below 1.9.2 are no longer supported. Upgrade Ruby before using this release. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `Attributes.inspect`  

Attributes#inspect now hides attributes listed in filtered_attributes, which defaults to Rails filter_parameters in Rails apps. Code that parses inspect output may see fewer attributes. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `HaveAttributeMatcher.with_default_value_of`  

The matcher now supports Procs as default values; existing non-Proc usage is unaffected, so this is listed only for completeness. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.14.0/CHANGELOG.md)
- **Behavior changed** `Typecasting.BooleanTypecaster`  

BooleanTypecaster now casts nil and empty strings to false instead of leaving them as nil. Check code that relies on nil being preserved for boolean attributes. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.14.0/CHANGELOG.md)

## active_attr 0.12.0 breaking changes

active_attr 0.12.0, released August 6, 2018: 1 breaking change.

- **Behavior changed** `Typecasting.BooleanTypecaster`  

Strings starting with a zero character are now cast to true by BooleanTypecaster. Check code that relied on those strings casting to false. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.12.0/CHANGELOG.md)

## active_attr 0.9.0 breaking changes

active_attr 0.9.0, released January 27, 2016: 1 breaking change.

- **Default changed** `ActiveModel.Serializers.Xml`  

Serialization no longer includes XML serialization by default. To keep XML output, include the ActiveModel::Serializers::Xml module, which requires the activemodel-serializers-xml gem. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.9.0/CHANGELOG.md)

## active_attr 0.8.0 breaking changes

active_attr 0.8.0, released May 2, 2013: 2 breaking changes.

- **Removed** `MassAssignmentSecurity`  

MassAssignmentSecurity was removed and its sanitizer support merged into MassAssignment. Include the ActiveModel::MassAssignmentSecurity module or ActiveModel::ForbiddenAttributesProtection depending on your Rails version. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.8.0/CHANGELOG.md)
- **Behavior changed** `HaveAttributeMatcher`  

Failure messages from the HaveAttributeMatcher now use an expected/got format, so tests that match on the old message text may need updating. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.8.0/CHANGELOG.md)

## active_attr 0.6.0 breaking changes

active_attr 0.6.0, released June 27, 2012: 2 breaking changes.

- **Removed** `Typecasting.typecast_value`  

Typecasting#typecast_value no longer exists. Code calling it must change to another approach. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.6.0/CHANGELOG.md)
- **Signature changed** `Typecasting.typecast_attribute`  

Typecasting#typecast_attribute takes a typecaster object rather than a type. Update callers that passed a type. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.6.0/CHANGELOG.md)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### active_attr 0.5.0 breaking changes

active_attr 0.5.0, released March 12, 2012: 3 breaking changes.

- **Removed** `StrictMassAssignment`  

Use MassAssignmentSecurity with ActiveModel v3.2 and set mass_assignment_sanitizer to :strict on the class instead. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.5.0/CHANGELOG.md)
- **Behavior changed**  

Defining an attribute that already exists now replaces the earlier definition. Code that relied on the old definition staying in place may behave differently. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.5.0/CHANGELOG.md)

And 1 more in this version.

### active_attr 0.3.0 breaking changes

active_attr 0.3.0, released November 26, 2011: 5 breaking changes.

- **Behavior changed** `[]`  

The \[\] reader now calls user-defined getter methods instead of reading the raw value directly. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.3.0/CHANGELOG.md)
- **Behavior changed** `[]=`  

The \[\]= writer now calls user-defined setter methods instead of writing the raw value directly. [github.com](https://github.com/cgriego/active%5Fattr/blob/v0.3.0/CHANGELOG.md)

And 3 more in this version.

## 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.
