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: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.
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
People watching this ticket
- Nobody is watching this ticket.
