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

# apartment breaking changes

apartment 2.0.0 (August 22, 2017) is its newest release with breaking changes, 4 of them. The first: Removes deprecations that were carried over from 1.0.0 in apartment 2.0.0. Every breaking API change we have recorded in apartment on RubyGems: 9 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.2.1`. [Source repository](https://github.com/influitive/apartment)

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

- From [0.24.0](#v-0-24-0) to [2.0.0](#v-2-0-0): 4 breaking changes in 1 version.
- From [0.11.0](#v-0-11-0) to [2.0.0](#v-2-0-0): 8 breaking changes in 5 versions.

## apartment 2.0.0 breaking changes

apartment 2.0.0, released August 22, 2017: 4 breaking changes.

- **Removed**  

Features deprecated in 1.0.0 have been removed. Code still using them will stop working and must be updated. [github.com](https://github.com/influitive/apartment/blob/v2.0.0/HISTORY.md)
- **Removed** `tld_length`  

The tld_length configuration option is gone. The subdomain elevator now uses the PublicSuffix gem instead, so remove tld_length from configuration. [github.com](https://github.com/influitive/apartment/blob/v2.0.0/HISTORY.md)
- **Behavior changed**  

The middleware stack is now passed constants rather than strings. Code that passes or inspects middleware as strings must be updated. [github.com](https://github.com/influitive/apartment/blob/v2.0.0/HISTORY.md)
- **Behavior changed**  

When loading files fails because a file is missing, the package now raises FileNotFound rather than aborting. Code that relied on the abort needs to rescue FileNotFound. [github.com](https://github.com/influitive/apartment/blob/v2.0.0/HISTORY.md)

## apartment 0.24.0 breaking changes

apartment 0.24.0, released February 21, 2014: 1 breaking change.

- **Behavior changed** `apartment:migrate`  

The apartment:migrate rake task no longer runs db:migrate first. To keep the old chaining, require 'apartment/tasks/enhancements' in your Apartment initializer so rake db:migrate also runs apartment:migrate. [github.com](https://github.com/influitive/apartment/blob/v0.24.0/HISTORY.md)

## apartment 0.23.0 breaking changes

apartment 0.23.0, released December 15, 2013: 1 breaking change.

- **Removed**  

Apartment no longer includes Delayed::Job support, so code that relies on that integration must be changed. [github.com](https://github.com/influitive/apartment/blob/v0.23.0/HISTORY.md)

## apartment 0.20.0 breaking changes

apartment 0.20.0, released February 13, 2013: 1 breaking change.

- **Behavior changed**  

MySQL now uses a 'schema like' mode by default, matching PostgreSQL, instead of connection-based isolation. Existing MySQL users should check that their tenant setup still works. [github.com](https://github.com/influitive/apartment/blob/v0.20.0/HISTORY.md)

## apartment 0.13.0 breaking changes

apartment 0.13.0, released October 25, 2011: 1 breaking change.

- **Configuration changed**  

The package now only supports Rails versions >= 3.0.10 and < 3.1 because of testing problems with Rails 3.1. Apps on Rails 3.1 or later must stay on a compatible Rails version until a later release. [github.com](https://github.com/influitive/apartment/blob/v0.13.0/HISTORY.md)

## apartment 0.11.0 breaking changes

apartment 0.11.0, released September 20, 2011: 1 breaking change.

- **Behavior changed**  

Excluded models now stay on the main connection and their table names are prefixed with public. when using PostgreSQL schemas. Code that relied on the separate connection or the old table names must be updated. [github.com](https://github.com/influitive/apartment/blob/v0.11.0/HISTORY.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.
