draper breaking changes
draper 4.0.0 (February 5, 2020) is its newest release with breaking changes, 2 of them. The first: draper 4.0.0 requires Ruby 2.4 or later. Every breaking API change we have recorded in draper on RubyGems: 21 breaking changes in 7 versions. Below, its 7 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.6. Source repository
Its 4.0.0 release requires Ruby 2.4 or later. Ruby end of life dates.
- From 3.0.0 to 4.0.0: 2 breaking changes in 1 version.
- From 1.0.0 to 4.0.0: 16 breaking changes in 4 versions.
draper 4.0.0 breaking changes
- Removed
Ruby versions older than 2.4 are no longer supported, so code running on them must upgrade Ruby before using this release. github.com - Behavior changed
A public model method that the decorator overrides with a private method is no longer delegated to the model, so callers relying on that delegation will see different behavior. github.com
draper 3.0.0 breaking changes
- Removed
Functionality that was previously deprecated has been removed. Code still using it will stop working. github.com - Removed
source
The conflicting source aliases were removed. Stop calling them and use the remaining API instead. github.com - Removed
source_class
The conflicting source aliases were removed. Stop calling them and use the remaining API instead. github.com - Removed
source_class?
The conflicting source aliases were removed. Stop calling them and use the remaining API instead. github.com - Removed
to_source
The conflicting source aliases were removed. Stop calling them and use the remaining API instead. github.com - Renamed
UninferrableSourceError
The error class was renamed. Update any code that rescues or references UninferrableSourceError. github.com - Behavior changed
When a NameError is raised, decoration now always defaults to CollectionDecorator. github.com - Behavior changed
The view context is now cleared when the controller changes. Code relying on the old view context may behave differently. github.com - Behavior changed
===
The === method is only delegated when the other object inherits from Decorator. Check code that compares decorators with other objects. github.com
draper 3.0.0.pre1 breaking changes
- Removed
Rails 5 is now supported, and Rails 4.0 through 4.2 are no longer supported. Upgrade Rails before upgrading draper. github.com - Removed
Draper no longer supports ActiveModelSerializers 0.8. Upgrade ActiveModelSerializers before upgrading draper. github.com - Removed
Ruby 2.2 or newer is now required. Older Ruby versions are no longer supported. github.com
draper 2.0.0 breaking changes
- Removed
Ruby 1.9.3 and 2.0 are no longer supported in this release. Apps on those Ruby versions must stay on draper 1.x or upgrade Ruby. github.com - Removed
Rails 3.2 is no longer supported in this release. Apps still on Rails 3.2 must stay on draper 1.x or upgrade Rails. github.com
draper 1.0.0 breaking changes
- Behavior changed
Decorator
Security was removed from Decorator; delegation must be done manually with delegate. github.com
draper 1.0.0.beta2 breaking changes
- Renamed
has_finders
The has_finders method is renamed to decorates_finders. github.com
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
draper 1.0.0.beta1 breaking changes
- Removed
decorates
Decorators infer the class they decorate, so the decorates call inside models should be removed. github.com - Renamed
Draper.Base
Draper::Base is renamed to Draper::Decorator. Update your decorators to inherit from Draper::Decorator. github.com
And 1 more in this version.
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.