diff --git a/Rakefile b/Rakefile index 7e6c3f34..1afced0b 100644 --- a/Rakefile +++ b/Rakefile @@ -15,6 +15,8 @@ namespace :justask do answered = Answer.where(user: user).count asked = Question.where(user: user).where(author_is_anonymous: false).count commented = Comment.where(user: user).count + user.friend_count = user.friends.count + user.follower_count = user.followers.count user.answered_count = answered user.asked_count = asked user.commented_count = commented