I'm using the Merit Gem and am trying to find the total number of points achieved on my site.
To find each user's point count it's as easy as this
user.points
This shows the integer for that user's points. What I'm trying to find is find the total amount of points earned by all users. I'm not familiar with how to achieve this. I've looked into http://api.rubyonrails.org/ to try and solve it myself but haven't been successful.
Any help would be appreciated. Thanks.