Learn about aggregate methods in Rails so you can get statistics & other useful information from your data.
Methods like:
- sum
- average
- maximum
The best thing about these methods is that you can combine them with other ActiveRecord methods.
Like "where" & "group".
That's when you can start building very powerful SQL queries!
You can keep learning by watching more of my videos now, subscribing to the channel if you haven't yet & visiting my website:
https://www.rubyguides.com/
Thanks for watching!
Download
0 formats
No download links available.
Rails Methods: Sum, Average, Maximum & Group | NatokHD