class ActionControl::NotAuthenticatedError
Error if user not authenticated
@raise [NotAuthenticatedError]
if authenticated? isn't returning true.
@note
Should always be called at the end of the #authenticate! method.
Attributes
error[R]
Public Class Methods
new(error={})
click to toggle source
# File lib/action_control/errors.rb, line 62 def initialize(error={}) @error = error end