Exception: Otori::MissingSession

Inherits:
Error
  • Object
show all
Defined in:
lib/otori/error.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingSession

Returns a new instance of MissingSession.



7
8
9
10
11
12
# File 'lib/otori/error.rb', line 7

def initialize
  super(
    "Otori needs a session-like object (responding to []=, []) " \
      "to store the form-load timestamp. Enable sessions in your app."
  )
end