Replace remaining query projection interpolation - #588
Merged
Merged
Conversation
nertzy
force-pushed
the
arel/projections
branch
from
September 7, 2026 15:05
ab8e0ca to
e9a825d
Compare
nertzy
force-pushed
the
arel/projections
branch
from
September 7, 2026 17:39
e9a825d to
52c50dc
Compare
nertzy
force-pushed
the
arel/projections
branch
2 times, most recently
from
September 7, 2026 18:06
0308956 to
882d12b
Compare
nertzy
force-pushed
the
arel/projections
branch
from
September 7, 2026 18:32
882d12b to
6438280
Compare
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
force-pushed
the
arel/projections
branch
from
September 7, 2026 18:55
6438280 to
5aaa023
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.
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.