Sha256: a970530049c2f42d92f0d2faf1d3a274c2d7f3b0b18b1472100d63cdffe7aa74
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 Bytes
Contents
module ActiveRecord module ShardFor module Patch extend ActiveSupport::Concern module ClassMethods # For ActiveRecord::Enum patch. # See https://github.com/yuemori/activerecord-shard_for/issues/10 def enum(definitions) super shard_repository.all.each { |shard| shard.defined_enums = defined_enums } end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems