Displaying 1 result from an estimated 1 matches for "cnetid".
Did you mean:
netid
2008 Dec 05
3
"singleton can't be dumped," but not using singleton
...er 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...