Skip to content

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.

Edited by Kamil Trzciński (Back 2025-01-01)

Merge request reports

Loading