Sha256: 1251092707a8ba21fd213566b0e6b9d06add851431e93bc5231b918f7f447bee

Contents?: true

Size: 336 Bytes

Versions: 25

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true

module Switchman
  module ActiveRecord
    module ModelSchema
      module ClassMethods
        def quoted_table_name
          @quoted_table_name ||= {}
          @quoted_table_name[Shard.current(connection_classes).id] ||= connection.quote_table_name(table_name)
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
switchman-3.0.24 lib/switchman/active_record/model_schema.rb
switchman-3.0.23 lib/switchman/active_record/model_schema.rb
switchman-3.0.22 lib/switchman/active_record/model_schema.rb
switchman-3.0.21 lib/switchman/active_record/model_schema.rb
switchman-3.0.20 lib/switchman/active_record/model_schema.rb
switchman-3.0.19 lib/switchman/active_record/model_schema.rb
switchman-3.0.18 lib/switchman/active_record/model_schema.rb
switchman-3.0.17 lib/switchman/active_record/model_schema.rb
switchman-3.0.16 lib/switchman/active_record/model_schema.rb
switchman-3.0.15 lib/switchman/active_record/model_schema.rb
switchman-3.0.14 lib/switchman/active_record/model_schema.rb
switchman-3.0.13 lib/switchman/active_record/model_schema.rb
switchman-3.0.12 lib/switchman/active_record/model_schema.rb
switchman-3.0.11 lib/switchman/active_record/model_schema.rb
switchman-3.0.10 lib/switchman/active_record/model_schema.rb
switchman-3.0.9 lib/switchman/active_record/model_schema.rb
switchman-3.0.8 lib/switchman/active_record/model_schema.rb
switchman-3.0.7 lib/switchman/active_record/model_schema.rb
switchman-3.0.6 lib/switchman/active_record/model_schema.rb
switchman-3.0.5 lib/switchman/active_record/model_schema.rb