🕵️♀️ Task
The all
method returns an ActiveRecord::Relation
from the designated Class.
An ActiveRecord::Relation
is an object that contains a list of rows/records from the database table that is connected to the Class that is calling the method.
A table can be referenced by it’s associated model. A “model” is a Ruby Class that inherits from ActiveRecord::Base
.