class ActiveRecordShards::ShardSupport::ShardEnumerator

Public Instance Methods

each(&block) click to toggle source
# File lib/active_record_shards/shard_support.rb, line 8
def each(&block)
  ActiveRecord::Base.on_all_shards(&block)
end