Class: ActiveRecordShards::ShardSupport::ShardEnumerator
- Inherits:
 - 
      Object
      
        
- Object
 - ActiveRecordShards::ShardSupport::ShardEnumerator
 
 
- Includes:
 - Enumerable
 
- Defined in:
 - lib/active_record_shards/shard_support.rb
 
Instance Method Summary collapse
Instance Method Details
#each(&block) ⇒ Object
      8 9 10  | 
    
      # File 'lib/active_record_shards/shard_support.rb', line 8 def each(&block) ActiveRecord::Base.on_all_shards(&block) end  |