Vixiom Axioms

December 7, 2007

Rails 2.0 is go

Filed under: Ruby, Ruby on Rails Alastair @ 2:00 pm

Tons of new stuff, my favorite is Cookie store sessions

The default session store in Rails 2.0 is now a cookie-based one. That means sessions are no longer stored on the file system or in the database, but kept by the client in a hashed form that can’t be forged. This makes it not only a lot faster than traditional session stores, but also makes it zero maintenance. There’s no cron job needed to clear out the sessions and your server won’t crash because you forgot and suddenly had 500K files in tmp/session.

Digg! submit Rails 2.0 is go to stumbleupon.com submit Rails 2.0 is go to del.icio.us submit Rails 2.0 is go to reddit.com Like this post? subscribe to the feed.

1 Comment »

  1. Have You enabled swf uploading with cookie based session? I’ve written a special hack for it.

    Comment by Max Lapshin — April 5, 2008 @ 2:00 am

RSS feed for comments on this post. TrackBack URL

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image

Powered by WordPress