i'm using restful-authentication plugin with rails 2.3.8
i've problems with cookies store
i've put a logger instruction in this function for check the cookie:
def send_remember_cookie!
cookies[:auth_token] = {
:value => @current_user.remember_token,
:expires => @current_user.remember_token_expires_at }
logger.error "--------------#{cookies[:auth_token].keys}"
end
But when i launch the program i receive this error:
undefined method `keys' for nil:NilClass
why?
How can i set the cookie?
thanks