You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These values are already calculated when building the SelectManager
arel, so we can use them instead of recalculating/rebuilding them.
Specifically, this prevents calling `arel_columns` after building the
relation, which opens up the possibility to cache the built Arel ast. It
couldn't be cached before because `arel_columns` may modify the
relation.
Going through the {Update,Delete}Manager's ast in `Crud` is necessary to
prevent `Group(Group(SQL))` because `#group` will wrap its arguments in
`Group` nodes.
0 commit comments