Skip to content

Exclude generated columns from fixture snapshots - #105

Merged
nertzy merged 1 commit into
masterfrom
exclude-generated-columns
Sep 3, 2026
Merged

Exclude generated columns from fixture snapshots#105
nertzy merged 1 commit into
masterfrom
exclude-generated-columns

Conversation

@nertzy

@nertzy nertzy commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Omit database-generated columns from fixture snapshots so Rails can load them.
  • Preserve ordinary persisted attributes plus aliases and computed fields from custom select_sql.
  • Add generated-column regression coverage and document the behavior in the README and changelog.

Depends on the shared test-database and in-memory SQLite layers.

@nertzy
nertzy force-pushed the exclude-generated-columns branch from 54ca3fc to a6ff165 Compare September 3, 2026 17:03
@nertzy
nertzy force-pushed the use-in-memory-sqlite-tests branch from 8d7f638 to 7cba889 Compare September 3, 2026 17:03
@nertzy
nertzy changed the base branch from use-in-memory-sqlite-tests to master September 3, 2026 17:10
@nertzy
nertzy force-pushed the exclude-generated-columns branch 2 times, most recently from 676c5ea to ab8b897 Compare September 3, 2026 17:30
@nertzy
nertzy marked this pull request as ready for review September 3, 2026 17:33
@nertzy
nertzy force-pushed the exclude-generated-columns branch from ab8b897 to f9b60a7 Compare September 3, 2026 17:42
@nertzy
nertzy merged commit 2bbe377 into master Sep 3, 2026
10 checks passed
@nertzy
nertzy deleted the exclude-generated-columns branch September 3, 2026 18:55
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