ruby-on-rails: gravatar_for
- by Heber
Hi, I was following the site http://railstutorial.org/
and in the chapter 7, it shows an example of how to
use gravatar_for.
I tried to use it using
<%= gravatar_for @user %
but it does not render correctly in my browser (firefox/opera/chrome)
it render this html:
classgravatartitleratingPGstylewidth:50px;height:50px;background:url(http://www.gravatar.com/avatar/bebfcf57d6d8277d806a9ef3385c078d?rating=PG&size=50) no-repeat;sslfalsealtdefault
Could someone give me the solution for this problem? I got stuck and I really don't know to solve this. Thank very much.