session cookies - In which file the current user is set in ruby on rails? -
i new ruby. want know when/where current user set. know cookie generated each url request. , session details stored? , current user set(in file). 1 please explain briefly.
it depends on how implement it. if you're using library devise has own implementation, such things stored in encrypted rails session store , on every request 'session' controller verifies visitor's cookie , after current_user
set user object session.
Comments
Post a Comment