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

# factory_bot_rails breaking changes

factory_bot_rails 6.0.0 (June 19, 2020) is its newest release with breaking changes, 4 of them. The first: Drops support for EOL Rails 4.2 in factory_bot_rails 6.0.0. Every breaking API change we have recorded in factory_bot_rails on RubyGems: 6 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 `6.5.1`. [Source repository](https://github.com/thoughtbot/factory%5Fbot%5Frails)

Its 6.0.0 release drops Ruby 2.3 and 2.4. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [5.0.0](#v-5-0-0) to [6.0.0](#v-6-0-0): 4 breaking changes in 1 version.

## factory_bot_rails 6.0.0 breaking changes

factory_bot_rails 6.0.0, released June 19, 2020: 4 breaking changes.

- **Removed**  

Apps running Rails 4.2 can no longer use this release and must upgrade Rails. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v6.0.0)
- **Removed**  

Code running on Ruby 2.3 or 2.4 must upgrade Ruby to keep using this release. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v6.0.0)
- **Removed** `factory_bot.register_reloader`  

The initializer is gone; the reloader now registers after application initialization. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v6.0.0)
- **Configuration changed**  

The factory_bot dependency now must be \~> 6.0.0, so apps pinned to older versions must upgrade. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v6.0.0)

## factory_bot_rails 5.0.0 breaking changes

factory_bot_rails 5.0.0, released February 1, 2019: 2 breaking changes.

- **Removed**  

Support for EOL versions of Ruby and Rails was removed. Upgrade Ruby and Rails to a supported version before using this release. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v5.0.0)
- **Behavior changed**  

The generator now places namespaced model factories in a directory matching the namespace. Update any scripts or paths that expect the old file location. [github.com](https://github.com/thoughtbot/factory%5Fbot%5Frails/releases/tag/v5.0.0)

## Related packages

- [factory_bot](https://since.dev/packages/gem/factory%5Fbot.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.
