3 ms·
It's something i've steered away from, or I would encrypt the id before saving it in the session. I don't exactly recall where I picked it up, but i know i've s
by agmcleod 10y ago
It's something i've steered away from, or I would encrypt the id before saving it in the session. I don't exactly recall where I picked it up, but i know i've seen it in example tutorials in books with Rails apps.
- nateberkopec 10y agoFWIW, all session information (`session[:user_id]`) is stored in an encrypted cookie starting with Rails 4.