activeadmin/inherited_resources
57.3
Adequate · 5 November 2026
1.5k
lines of production code
Ruby
primary language
4
measurements over time
What this system is
Features
Add Inherited Resources controller generator
Users can now generate controllers that inherit from InheritedResources::Base instead of the default Rails ApplicationController. This new generator creates a controller class with automatic strong parameters handling and supports singleton resources, integrating with the existing helper, template engine, and test framework generators.
lib/generators · high confidence
Add bin binstubs for bundle, rake, and rubocop
The project now includes executable binstubs in the bin directory for bundle, rake, and rubocop. These scripts ensure that commands are run using the specific gem versions defined in the project's Gemfile, providing consistent and isolated execution environments for development and testing tasks.
bin · high confidence
Behavioural changes
InheritedResources base class now inherits from a configurable parent controller
The InheritedResources::Base class now dynamically inherits from the class specified by InheritedResources.parent\_controller instead of a hardcoded default. This allows applications to customize the base controller inheritance chain, enabling scenarios where the base controller needs to extend a custom application controller or a different parent class. The change also includes a frozen string literal magic comment and ensures that the resource\_class class\_attribute is not overwritten if already defined.
app/controllers · high confidence
InheritedResources v2.1.0: Major refactor and responder integration
InheritedResources has been refactored into a modular structure, replacing the monolithic base class with separate modules for actions, DSL, and helpers, and now relies on the external \responders\ gem for HTTP responses. This update introduces a new class-method DSL for defining controller actions, adds support for shallow nested associations, and changes the default responder behavior to only respond to HTML requests by default. Additionally, the library now uses \class\_attribute\ instead of deprecated class accessors and enforces frozen string literals.
_lib/inherited\resources · high confidence
Project maintenance and tooling updates
This release introduces several maintenance and tooling changes. The project now enforces code style and quality using RuboCop with a configuration targeting Ruby 3.2, including plugins for Minitest, packaging, and performance. The default Rake task has been updated to run both tests and RuboCop checks. Additionally, the changelog has been migrated to Markdown format, and the gemspec no longer enforces upper-bound dependency limits, allowing for more flexible dependency resolution.
(repo-wide) · high confidence
Refactor to use Rails Engine and Responders gem
The library has been restructured to rely on the \responders\ gem for handling HTTP responses and flash keys, replacing the previous internal \respond\_to\ implementation. It now loads as a Rails Engine, utilizing \require\_relative\ for internal dependencies and \ActiveSupport.on\_load\ hooks to extend \ActionController::Base\. This change introduces support for setting a custom \parent\_controller\ and allows controllers to include functionality via \inherit\_resources\ without inheriting from \InheritedResources::Base\.
lib · high confidence
Test coverage
Added base view tests for pets and trees; Added comprehensive test coverage for belongs\_to associations and controller defaults; Added tests for Gemfile lock consistency and gemspec build validity; Added view tests for address, geolocation, and venue.
Dependencies
Update dependencies and lockfiles for Rails 7.0–8.1 support
The gemspec now requires Ruby 3.2+ and Rails 7.0+, and the repository adds Gemfiles and lockfiles for Rails 7.0, 7.1, 7.2, 8.0, and 8.1 to keep dependencies and lockfiles in sync across supported versions.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 57 → 57 (-0.1)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 60 → 60 (+0.0)
- Architecture 99 → 99 (+0.0)
- Maturity 43 → 43 (+0.0)
- Readiness 75 → 75 (-0.2)
- Security 82 → 81 (-1.4)
New (4)
- Medium CVE: [GHSA redacted] (Gemfile.lock)
- Outdated: actionpack
- Outdated: rails
- Outdated: railties
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- (root) — 1 commit
Notable commits
- change: Update dependencies (#1019)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
activeadmin/inherited_resources was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 5 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 7bfb060b054af90765a3ef462373679b8c6b21ec — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.2+preprod-5c4e66d9318b.