basedir = File.dirname(__FILE__) require 'rack/contrib/cookies' #Require the files necessary for Rails integration require 'global_session/rack' require 'global_session/rails/action_controller_class_methods' require 'global_session/rails/action_controller_instance_methods' module GlobalSession module Rails def self.activate(config) # Enable ActionController integration. class <