Displaying 1 result from an estimated 1 matches for "index_stats".
Did you mean:
index_start
2012 Mar 08
0
Safari Version 5.1.3 (7534.53.10) Browser problem --- removing cookie on OS X Lion 10.7.3 (11D50b) when still valid
...t_user_token kept in the cookie[:remember_user_token] became
nil. Later in the debug sessions, this value returned was due to the
cookie being removed by Safari --- not present!
The steps leading to Safari dropping of the cookie
1) signin and set the cookie[:remember_user_token] to User.id
2) get /index_stats for user --- cookie still valid
3) get /show_stats : rendering the view showed that the cookie value
returned was nil
How to debug the problem?:
1) Use the Ruby method set_trace_func to see the source code being
executed
a) U must be judicious in turning on / off the set_trace_func
method as it...