Parent

Merb::Authentication

Setup the session serialization

Public Instance Methods

fetch_user(session_user_id) click to toggle source
    # File lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb, line 23
23:     def fetch_user(session_user_id)
24:       Merb::Authentication.user_class.get(session_user_id)
25:     end
store_user(user) click to toggle source
    # File lib/generators/templates/application/merb_stack/merb/merb-auth/setup.rb, line 27
27:     def store_user(user)
28:       user.nil? ? user : user.id
29:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.