Couldn't find User with 'id'=8
Extracted source (around line #13):
def current_user
@current_user ||= User.find(session[:user_id]) if session[:user_id]
end
def require_user
Rails.root: C:/Users/AB COMPUTER/SecureSite
Application Trace | Framework Trace | Full Trace
app/controllers/application_controller.rb:13:in current_user'
app/controllers/application_controller.rb:17:in
require_user'
Request
id
of8
– Jonchrome
cache, or create auser
with theid
of8
in your rails console – Richard Peck