search for: fetch_operator

Displaying 1 result from an estimated 1 matches for "fetch_operator".

2011 Feb 24
1
concurrent users.
If I have: class ApplicationController < ActionController::Base protect_from_forgery before_filter RubyCAS::Filter before_filter :fetch_operator include SessionsHelper private def fetch_operator @operator ||= session[:cas_user] && Operator.find_by_uid(session[:cas_user]) log_out if @operator.nil? end end @operator is available for all controllers of my application. But If I run, for example, two instances of my a...