I need to access the current_user attribute in rails console, I have the pry gem installed, but I do not know how to use it to sign in a user
I also tried
user = User.find(1)
sign_in user
in my code to manually log a user in, but this returns the error
Module::DelegationError: ActionController::Metal#session delegated to @_request.session, but @_request is nil: #<ResumesController:0x0055be48209b10 @_action_has_layout=true, @_routes=nil, @_request=nil, @_response=nil>