Created
October 29, 2010 06:50
-
-
Save abscondment/653039 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NoSession acts like a session, but doesn't get stored anywhere. Sneaky. | |
class NoSession < AbstractSession | |
class << self | |
def find_session(session_id); end | |
def create_session(session_id, data={}) | |
new(session_id, data) | |
end | |
def delete_all(condition=nil); end | |
end | |
def update_session(data); end | |
def destroy; end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment