Sha256: ad69ba9afe25787aabe61f551c60c7d672099e1f3dfd6a1f101a59ca589591a9

Contents?: true

Size: 193 Bytes

Versions: 3

Compression:

Stored size: 193 Bytes

Contents

module CanCan
  module ModelAdapters
    class Strategies
      class LeftJoin < Base
        def execute!
          relation.left_joins(joins).distinct
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/cancancan-3.6.1/lib/cancan/model_adapters/strategies/left_join.rb
cancancan-3.5.0 lib/cancan/model_adapters/strategies/left_join.rb
cancancan-3.4.0 lib/cancan/model_adapters/strategies/left_join.rb