If I have:
class ApplicationController < ActionController::Base
@operator ||= session[:cas_user] &&
log_out if @operator.nil?
@operator is available for all controllers of my application.
But If I run, for example, two instances of my application from
In the first instance the user logs in as ‘user1’, later from another
location, another user logs in as ‘user2’, then in @operator now I
How can I do if my application is used by more than one user?