Can you believe it, just after I posted this, I then had a thought on swapping some syntax around and got the result. This is what I ended up doing:
Answer.group(:player_id).having("sum(points_received) > 5").sum(:points_received)
this returned me back the hash of player_ids and sum(points_received) for only the ones where the sum is greater than 5.
Thanks for reading anyway. Maybe this will help someone one day!
Leddo
2010-09-16 14:53:32