[Merb-devel] ActiveRecord Sessions

merb-devel at rubyforge.org merb-devel at rubyforge.org
Thu Nov 30 19:16:50 EST 2006


I am considering using merb to process file uploads. For the most  
part I'm going to keep it lean and mean. I would however like to  
access my active_record_session from my Rails app. Is this built into  
merb yet?

Or is it OK to just add require 'action_controller/session/ 
active_record_store' to merb_init.rb and then create my own session  
object (CGI::Session::ActiveRecordStore::Session.find_by_session_id 
(cookies['_session_id']))?

Thanks a lot.

Erik


More information about the Merb-devel mailing list