Module: Arel::Relation::Enumerable
Instance Method Summary collapse
Instance Method Details
#each(&block) ⇒ Object
20 21 22 |
# File 'lib/arel/algebra/relations/relation.rb', line 20 def each(&block) session.read(self).each(&block) end |
#first ⇒ Object
24 25 26 |
# File 'lib/arel/algebra/relations/relation.rb', line 24 def first session.read(self).first end |