Exception: Alchemy::NoCurrentUserFoundError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/alchemy/errors.rb

Instance Method Summary collapse

Instance Method Details

#messageObject

Raised if no current_user is found to authorize against.


100
101
102
# File 'lib/alchemy/errors.rb', line 100

def message
  "You need to provide a current_user method in your ApplicationController that returns the current authenticated user."
end