Sha256: 5523bc8e0ab39c21d9482e192ee109328f3a9dc95da63bb10d1985108b098e0b

Contents?: true

Size: 301 Bytes

Versions: 10

Compression:

Stored size: 301 Bytes

Contents

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

10 entries across 10 versions & 1 rubygems

Version Path
switchman-2.0.1 lib/switchman/active_record/model_schema.rb
switchman-2.0.0 lib/switchman/active_record/model_schema.rb
switchman-1.16.0 lib/switchman/active_record/model_schema.rb
switchman-1.15.2 lib/switchman/active_record/model_schema.rb
switchman-1.15.1 lib/switchman/active_record/model_schema.rb
switchman-1.15.0 lib/switchman/active_record/model_schema.rb
switchman-1.14.10 lib/switchman/active_record/model_schema.rb
switchman-1.14.9 lib/switchman/active_record/model_schema.rb
switchman-1.14.8 lib/switchman/active_record/model_schema.rb
switchman-1.14.7 lib/switchman/active_record/model_schema.rb