Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Dan Voell's Profile

GitHub User: danvoell

Site: http://www.gamefilm360.com

Comments by Dan Voell

Avatar

The error I get is "Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id"

Avatar

This a newbie question:

I am getting an error if the user is not logged in. How do you enforce signup if they want to vote, while still allowing them to look at the page if they haven't signed up?