ruby-on-rails: gravatar_for

Posted by Heber on Stack Overflow See other posts from Stack Overflow or by Heber
Published on 2010-12-27T21:49:43Z Indexed on 2010/12/27 21:54 UTC
Read the original article Hit count: 185

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about tutorials