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
On this page
Latest version 6.5.1. Source repository
Its 6.0.0 release drops Ruby 2.3 and 2.4. Ruby end of life dates.
factory_bot_rails 6.0.0 breaking changes
- Removed
Apps running Rails 4.2 can no longer use this release and must upgrade Rails. github.com - Removed
Code running on Ruby 2.3 or 2.4 must upgrade Ruby to keep using this release. github.com - Removed
factory_bot.register_reloader
The initializer is gone; the reloader now registers after application initialization. github.com - Configuration changed
The factory_bot dependency now must be ~> 6.0.0, so apps pinned to older versions must upgrade. github.com
factory_bot_rails 5.0.0 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 - 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
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.