Sha256: 4287e13f02db49e0f715f8388f6715505c28b8acf14da72341440fcb42aa90cc

Contents?: true

Size: 343 Bytes

Versions: 47

Compression:

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

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
switchman-3.6.7 lib/switchman/active_record/model_schema.rb
switchman-3.6.6 lib/switchman/active_record/model_schema.rb
switchman-3.6.5 lib/switchman/active_record/model_schema.rb
switchman-3.6.3 lib/switchman/active_record/model_schema.rb
switchman-3.6.2 lib/switchman/active_record/model_schema.rb
switchman-3.6.1 lib/switchman/active_record/model_schema.rb
switchman-3.6.0 lib/switchman/active_record/model_schema.rb
switchman-3.5.22 lib/switchman/active_record/model_schema.rb
switchman-3.5.21 lib/switchman/active_record/model_schema.rb
switchman-3.5.20 lib/switchman/active_record/model_schema.rb
switchman-3.5.19 lib/switchman/active_record/model_schema.rb
switchman-3.5.18 lib/switchman/active_record/model_schema.rb
switchman-3.5.17 lib/switchman/active_record/model_schema.rb
switchman-3.5.16 lib/switchman/active_record/model_schema.rb
switchman-3.5.15 lib/switchman/active_record/model_schema.rb
switchman-3.5.14 lib/switchman/active_record/model_schema.rb
switchman-3.5.13 lib/switchman/active_record/model_schema.rb
switchman-3.5.12 lib/switchman/active_record/model_schema.rb
switchman-3.5.11 lib/switchman/active_record/model_schema.rb
switchman-3.5.10 lib/switchman/active_record/model_schema.rb