Sha256: d56a2c3430c0ff7de0aafbc6eac5cb4fbc9eea447faeae29144925192a64368b
Contents?: true
Size: 428 Bytes
Versions: 2
Compression:
Stored size: 428 Bytes
Contents
require 'after_commit_action' require 'active_support/concern' require 'counter_culture/extensions' require 'counter_culture/counter' require 'counter_culture/reconciler' module CounterCulture mattr_accessor :batch_size self.batch_size = 1000 def self.config yield(self) if block_given? self end end # extend ActiveRecord with our own code here ::ActiveRecord::Base.send :include, CounterCulture::Extensions
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
counter_culture-0.2.1 | lib/counter_culture.rb |
counter_culture-0.2.0 | lib/counter_culture.rb |