Skip to content

Port the shared Hyperclient lifecycle to ActiveRecord - #19

Merged
dblock merged 1 commit into
with-activerecordfrom
docs/activerecord-hyperclient-demo
Oct 27, 2026
Merged

dblock merged 1 commit into
with-activerecordfrom
docs/activerecord-hyperclient-demo

Conversation

@dblock

@dblock dblock commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Port the master-first Hyperclient scenario from #18 into with-activerecord. Review/merge the shared scenario on master first; this is its PostgreSQL-specific port.

The README Ruby code is byte-for-byte identical across all three example branches: create, update via the returned HAL self link, list a freshly expanded paginated collection, and delete only the created spline.

Only branch-specific prose and assertions differ: writes persist in PostgreSQL, links handle integer IDs and page/size pagination, database reloads observe updates, and deleting the created record leaves an empty test database. Use default HAL encoding in the Hyperclient specs, matching the documented client.

Only README and its corresponding request specs change. No API implementation, dependency, or CI changes.

AI-authored on behalf of @dblock.

The full five-combination PostgreSQL matrix and lint passed on 18e19d5: Tests, Rubocop.

Carry the master-first scenario from PR #18 unchanged, adapting only persistence notes and assertions. Use default HAL encoding, update/delete through returned self links, and expand fresh paginated collections with PostgreSQL persistence checks.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock merged commit e5ea74d into with-activerecord Oct 27, 2026
7 checks passed
@dblock
dblock deleted the docs/activerecord-hyperclient-demo branch October 27, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant