class HotController < ApplicationController def index session[:toto1] = session[:toto1].nil? ? "id##{Random.rand(10)}" : nil logger.info('callee') logger.info(__callee__) logger.info(__method__) end end