Back to Developer Roadmap

Aggregations

src/data/roadmaps/ruby-on-rails/content/[email protected]

4.0881 B
Original Source

Aggregations

Aggregations in Active Record allow you to derive summary information from your database records. This involves performing calculations like finding the average, minimum, maximum, or sum of values across a set of records, or counting the number of records that meet certain criteria. These calculations are typically performed directly within the database for efficiency and can be easily accessed through your Rails models.

Visit the following resources to learn more: