Add `ActiveRecord::Relation#allow_cross_joins_across_databases` method
What does this MR do and why?
Related #339299 (closed).
This uses #annotate
to indicate that given relation is exempt
from cross-join verification check.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kamil Trzciński (Back 2025-01-01)