Skip to content

Replace remaining query projection interpolation - #588

Merged
nertzy merged 1 commit into
arel/multisearchfrom
arel/projections
Sep 7, 2026
Merged

nertzy merged 1 commit into
arel/multisearchfrom
arel/projections

Conversation

@nertzy

@nertzy nertzy commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Replace the remaining SQL-string construction for query projections and stored-vector references with Arel attributes and aliases.

Default projections still include the model's columns, while explicit selections remain unchanged. Synthetic rank and physical vector references bypass model attribute aliases; qualified primary-key rendering keeps its existing String interface for association joins.

A public search example exercises case-sensitive identifiers and a model attribute alias that must not redirect the computed rank.

This continues above #587 without changing the earlier PRs under review. Column source references remain the next separate layer.

Compose star, highlight, rank, primary-key, and stored-vector references
with Arel attributes and aliases. Keep explicit selections and existing
String adapter contracts, without remapping physical or synthetic fields
through unrelated model attribute aliases.
@nertzy
nertzy merged commit 5aaa023 into master Sep 7, 2026
15 of 25 checks passed
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