Class: ActiveRecord::Relation

Inherits:
Object
  • Object
show all
Defined in:
lib/parallel_enumerable/active_record.rb

Instance Method Summary collapse

Instance Method Details

#parallel(options = {}) ⇒ Object



3
4
5
# File 'lib/parallel_enumerable/active_record.rb', line 3

def parallel(options={})
  ParallelEnumerable::Proxy.new(self.to_a, options)
end