Methods

Class Index [+]

Quicksearch

Merb::BootLoader::MixinSession

Public Class Methods

run() click to toggle source

Mixin the session functionality; this is done before BeforeAppLoads so that SessionContainer and SessionStoreContainer can be subclassed by plugin session stores for example - these need to be loaded in a before_app_loads block or a BootLoader that runs after MixinSession.

Note: access to Merb::Config is needed, so it needs to run after Merb::BootLoader::Dependencies is done.

Returns

nil

:api: plugin

     # File lib/merb-core/bootloader.rb, line 594
594:   def self.run
595:     require 'merb-core/dispatch/session'
596:     Merb::Controller.send(:include, ::Merb::SessionMixin)
597:     Merb::Request.send(:include, ::Merb::SessionMixin::RequestMixin)
598:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.