it's easiest way to parse rails session.