Moved stats (mean, sum, etc) behind stats method to avoid conflict with Rails validations