Created
May 23, 2016 13:07
-
-
Save maxehmookau/c0891cb14d7c0f0b3d4e8574c4039d7b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def gravatar_url(size = 50) | |
"https://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(email.strip.downcase)}?d=identicon&s=#{size}&r=g" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment