#24 new
fritzek

my_account of logged in user has a nil object

Reported by fritzek | March 23rd, 2009 @ 09:54 PM

have signed up with openid, logged in and used link my_account get:

TypeError in Profiles#show

Showing app/views/profiles/_my_account.html.erb where line #5 raised:

can't convert nil into String Extracted source (around line #5):

2:

My account

3: 4:
5: <%= gravatar_for @user, :size => 128 %> 6:
7: 8:
Trace of template inclusion: app/views/profiles/show.html.erb

RAILS_ROOT: /Users/fritzek/webs/railsprojects/sandbox/baseapp

Application Trace | Framework Trace | Full Trace vendor/plugins/gravatar/lib/gravatar.rb:52:in digest' vendor/plugins/gravatar/lib/gravatar.rb:52:inhexdigest' vendor/plugins/gravatar/lib/gravatar.rb:52:in gravatar_url' vendor/plugins/gravatar/lib/gravatar.rb:44:ingravatar' vendor/plugins/gravatar/lib/gravatar.rb:39:in gravatar_for' app/views/profiles/_my_account.html.erb:5

this might happen because gravatar is based on email address not on openid.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

BaseApp is the quick-start for your Rails App

Shared Ticket Bins

People watching this ticket

You can update this ticket by sending an email to from your email client. (help)