Yan Pritzker photographer, entrepreneur, software engineer, musician, skier

skwpspace is Yan Pritzker's home on the web

Blog :: Photography :: About Me

TwitterCounter for @skwp

Get the news feed
Get updates by email
Follow me on twitter

hello, i'm yan

I am a photographer, entrepreneur, software engineer, guitarist, and telemark skier

This blog is about startups, blogging, Ruby On Rails, virtualization and cloud computing, photography, customer service, marketing, ux and design, git, and lots more.

planypus

I'm the founder of Planypus, the place to share your plans!

cohesiveft

Virtualize your application for download or deploy to the cloud in minutes!

flickr

skaterkristinaice flowstampededudeson the hillblack sand beach, icelandblack sand beach, iceland

Top Posts

Archives

Contact

Reach me at yan at pritzker.ws

Posted
16 July 2008 @ 2pm

Tagged
RubyOnRails

Debugging technique for Rails: decode the session cookie

Ever try to debug a problem and needed to see what was inside the user’s session at the time? If you’re using the cookie session store (Rails 2.x), you can now use this tool to take a look:

http://pastie.org/235017

Simply invoke it like this:

DebugTools.show_session("your long session id goes in here")

The code deals with linebreaks automatically, so don’t worry about formatting the string, just cut, paste and enjoy.


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment