About camping/session.rb
This file contains two modules which supply basic sessioning to your Camping app. Again, we‘re
dealing with a pretty little bit of code: approx. 60 lines.
- Camping::Models::Session
is a module which adds a single sessions table to your database.
- Camping::Session is a
module which you will mix into your application (or into specific
controllers which require sessions) to supply a @state variable
you can use in controllers and views.
For a basic tutorial, see the *Getting Started* section of the Camping::Session module.
Requires: