I am implementing login based on Michael Hartl\'s Ruby on Rails Tutorial 3rd Edition. Stuck in chapter 8.
Defining a new log_in helper function in Ses
log_in
Ses
You are missing the ApplicationController part here which includes the helper in the controller so its methods can be accessible directly:
ApplicationController
class ApplicationController < ActionController::Base protect_from_forgery with: :exception include SessionsHelper end