RailsCasts Pro episodes are now free!

Learn more or hide this

Dan Voell's Profile

GitHub User: danvoell

Site: http://www.gamefilm360.com

Comments by Dan Voell


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"


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?