Welcome to mirror list, hosted at ThFree Co, Russian Federation.

00_active_record_disable_joins.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6348fd7c53b894925f865ac468f20ecd6c48f871 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module ActiveRecordRelationAllowCrossJoins
  def allow_cross_joins_across_databases(url:)
    # this method is implemented in:
    # spec/support/database/prevent_cross_joins.rb
    self
  end
end

ActiveRecord::Relation.prepend(ActiveRecordRelationAllowCrossJoins)