gravatar_for

Simple Rails view helper for getting Gravatar images.

Install

gem install gravatar_for

Basic usage

<%= gravatar_for('[email protected]', class: 'gravatar') %>

Please check the documentation or read the source to see what all can be applied with this call.