Add a non-ActiveRecord demo resource - #1001
Draft
tagliala wants to merge 1 commit into
Draft
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1001 +/- ##
==========================================
+ Coverage 94.78% 96.10% +1.32%
==========================================
Files 17 19 +2
Lines 115 154 +39
==========================================
+ Hits 109 148 +39
Misses 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Demonstrate ActiveAdmin's non-ActiveRecord support with a read-only API Posts resource, filtering, and pagination. Use in-memory data so the demo needs no external service or database changes. Pin ActiveAdmin to the upstream PR commit until a release includes the required fixes. Document the limitation and cover the example with model, request, and browser tests. Refs activeadmin/activeadmin#9039
tagliala
force-pushed
the
feature/9039-non-activerecord-demo
branch
from
September 7, 2026 08:28
9f31502 to
4090507
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Provide a minimal sample in response to the request from Javier Julio.
Dependency
Temporarily pin ActiveAdmin to
e372fc404d788824c0974894418313849f577a1cfrom activeadmin/activeadmin#9039. The released beta22 lacks the required fixes. Replace this pin once a release includes them; no monkey patches are added.Verification
git diff --check: passing.AI Disclosure
This minimal implementation was produced by GPT-6 Astra and has not been reviewed or verified by a human. Automated checks do not replace human review; this PR is intentionally a draft.
Refs activeadmin/activeadmin#9039