Badges and rake tasks