class ApplicationController < ActionController::Base protect_from_forgery private def active_list List.find(session[:list_id]) end helper_method :active_list end