Sha256: bc2770f1b2c3813cc27497469315ab7dec3cade4dbba9db3491de4d4d6722e68
Contents?: true
Size: 275 Bytes
Versions: 17
Compression:
Stored size: 275 Bytes
Contents
module Faalis module Concerns::User::Gravatar def gravatar require 'digest/md5' hash = Digest::MD5.hexdigest(email.downcase) # compile URL which can be used in <img src="RIGHT_HERE"... "http://www.gravatar.com/avatar/#{hash}" end end end
Version data entries
17 entries across 17 versions & 1 rubygems