I think sum is a rails method