I have a problem with rails and cookies. I have created a
loginController. In this i have inserted these lines:
cookies[:uid] = { :value => @user.id,:expires => 30.days.from_now};
cookies[:uhp] = { :value => @user.hashed_password,:expires =>
30.days.from_now };
puts cookies[:uid]
This print nil.
Why??
Thanks