The methods of the Enumerable
module are available in any Ruby
object that behaves as a collection (such as an array, or the results
of a .where()
query on an ActiveRecord class)
You can see the full API of Enumerable
here: http://ruby-doc.org/core-2.2.2/Enumerable.html