method
each
v7.0.0 -
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.