discourse/discourse — pull request #1637 by railsaholic (2013-11-10 14:09:03+00:00)
Title: Refactor Users#upload_avatar method

Moved avatar file upload code to ```AvatarUploadService``` class and ```AvatarUploadPolicy```
Added specs for ```AvatarUploadServiceSpec```

Is this fair enough? Any feedback or concerns on this ? :)