method
each
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::Result
each(&block)public
Calls the given block once for each element in row collection, passing row as parameter.
Returns an Enumerator if no block is given.
each(&block)Calls the given block once for each element in row collection, passing row as parameter.
Returns an Enumerator if no block is given.