https://github.com/divagueame/superavatar https://rubygems.org/gems/superavatar
You have an app with users. They need an avatar and they're too lazy to upload any. This gem helps fix that.
Do you have you user github username? Then you can get the url of avatar like this: `` my_avatar = Superavatar::Avatar.new my_avatar.github = 'divagueame' my_avatar.fetch_avatar_url
``
gem install 'superavatar'
These are the default settings. If you want, you can adjust it to your needs:
Superavatar.configure do |config| config.enable_github = true end
rake