app/helpers/users_helper.rb
# Returns the Gravatar (http://gravatar.com/) for the given user
Returns the Gravatar  for the given user
Returns the Gravatar for the given user
def gravatar_for(user)
    gravatar_id = Digest::MD5::hexdigest(user.email.downcase)
    gravatar_url = "//gravatar.com/avatar/#{gravatar_id}.png"
    image_tag(gravatar_url, :alt => user.email, :class => 'gravatar')
  end
def gravatar_for ( user ) gravatar_id = Digest :: MD5 :: hexdigest ( user . email . downcase ) gravatar_url = "//gravatar.com/avatar/#{gravatar_id}.png" image_tag ( gravatar_url , :alt => user . email , :class => 'gravatar' ) end
Returns the Gravatar (http://gravatar.com/) for the given user
Returns the Gravatar ( http : // gravatar . com / ) for the given user
user
<not_specific>