Displaying 1 result from an estimated 1 matches for "focused_cnetid".
2008 Dec 05
3
"singleton can't be dumped," but not using singleton
...by
logger calls (omitted):
===
class AdminController < ApplicationController
def select_person_by_name
# Here @people is set to be an Array with one element
case @people.size
# Other branches omitted
when 1
person = @people[0]
session[:focused_cnetid] = person.principal.cnetid
# person.principal.cnetid is as expected, it''s a String,
# and it''s generated from external data. ("fritza", nothing
special)
redirect_to :controller => :people, :action => :show, :id =>
person...