3 ms·
What your forgetting is the reason people use frameworks such as Rails - so they don't have to care about these types of details. I agree that simply storing e
by MattBearman 13y ago
What your forgetting is the reason people use frameworks such as Rails - so they don't have to care about these types of details.
I agree that simply storing everything in the cookie is wrong, and Rails should never have been doing this - hell, even CodeIgniter (PHP) has DB based sessions.
But most Rails devs (myself included) are just about getting shit done, we don't know everything that's going on under the bonnet, and we don't want to.
- nthj 13y ago> But most Rails devs (myself included) are just about getting shit done, we don't know everything that's going on under the bonnet, and we don't want to. I love getting shit done. It's my job as a professional to know everything that's going on "under the bonnet." I'm still learning. But it's my job to try.
- byroot 13y agoPlease don't speak for others, especially when you claim that you don't know what you're talking about in the same sentence. And FYI CookieStore is just the default, because it's convenient and require no dependency. But you're juste a line of configuration away to switch the sessions inside your DB or Memcache or whatever.