Sha256: f2b6743c43b454bdda5ab17847ea9e561e09528a767df28f90393ccade327ae4

Contents?: true

Size: 332 Bytes

Versions: 22

Compression:

Stored size: 332 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(shard_category).id] ||= connection.quote_table_name(table_name)
        end
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
switchman-2.2.3 lib/switchman/active_record/model_schema.rb
switchman-2.2.2 lib/switchman/active_record/model_schema.rb
switchman-2.2.1 lib/switchman/active_record/model_schema.rb
switchman-2.2.0 lib/switchman/active_record/model_schema.rb
switchman-2.1.6 lib/switchman/active_record/model_schema.rb
switchman-2.1.5 lib/switchman/active_record/model_schema.rb
switchman-2.1.4 lib/switchman/active_record/model_schema.rb
switchman-2.1.3 lib/switchman/active_record/model_schema.rb
switchman-2.1.2 lib/switchman/active_record/model_schema.rb
switchman-2.1.1 lib/switchman/active_record/model_schema.rb
switchman-2.1.0 lib/switchman/active_record/model_schema.rb
switchman-2.0.13 lib/switchman/active_record/model_schema.rb
switchman-2.0.12 lib/switchman/active_record/model_schema.rb
switchman-2.0.11 lib/switchman/active_record/model_schema.rb
switchman-2.0.10 lib/switchman/active_record/model_schema.rb
switchman-2.0.9 lib/switchman/active_record/model_schema.rb
switchman-2.0.8 lib/switchman/active_record/model_schema.rb
switchman-2.0.7 lib/switchman/active_record/model_schema.rb
switchman-2.0.6 lib/switchman/active_record/model_schema.rb
switchman-2.0.5 lib/switchman/active_record/model_schema.rb