Rails is setting and returning a remember_token cookie like this:
= cookies[:remember_token]
= value6c69b17681d2bf316f8eexpiresThu Jun 10 14:55:00 -0400 2010
In other words, when I'm calling the cookie I don't just get the value. Why is this?
I am setting the cookie as follows:
cookies[:remember_token] = { :value => @user.remember_me, :expires => 1.year.from_now}
What's going on here?