Module: HasGlobalSession::Rails

Defined in:
lib/has_global_session/rails/action_controller_instance_methods.rb,
lib/has_global_session/rails/action_controller_class_methods.rb

Overview

Rails integration for HasGlobalSession.

The configuration file for Rails apps is located in config/global_session.yml and a generator (global_session_config) is available for creating a sensible default.

There is also a generator (global_session_authority) for creating authority keypairs.

The main integration touchpoint for Rails is the module ActionControllerInstanceMethods, which gets mixed into ActionController::Base. This is where all of the magic happens..

Defined Under Namespace

Modules: ActionControllerClassMethods, ActionControllerInstanceMethods