Sha256: 9f27e5143a6b40df821f0d987723c57a6b1c4266ad5ab78725b7e4e1ce18219b

Contents?: true

Size: 277 Bytes

Versions: 14

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

module FreshConnection
  module Extend
    module ArRelationMerger
      private

      def merge_single_values
        relation.read_master_value = values[:read_master] unless relation.read_master_value
        super
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fresh_connection-3.1.3 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.1.2 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.1.1 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.1.1.rc1 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.1.0 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.3 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.2 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.2.rc1 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.1 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.1.rc2 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.1.rc1 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.0 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.0.rc2 lib/fresh_connection/extend/ar_relation_merger.rb
fresh_connection-3.0.0.rc1 lib/fresh_connection/extend/ar_relation_merger.rb