title: how do I share authentication on a rails/rack app with a node.js instance?
body: <p>I have been trying to figure out how to integrate a node.js app into a rails app and having them share sessions.  I've so far only been able to dig up sharing sessions between sinatra and ruby on rails via rack middleware. Is it possible to to do this?  </p>
  
  <p>I thought of a workaround involving the ror implementing a rest service that "poops" out a guid that node.js can use to create its own session.  This solution however requires having model validations ad such stored in two seperate apps.</p>
  
  <p>just wondering if there was a way to integrate them.</p>
  
  <p>and while using a js based webframework like geddy or express is cool,  I have alot of existing rails code and 3rd party libraries such as active merchant that I would have to reinvent.</p>