Displaying 1 result from an estimated 1 matches for "get_user_from_ppid".
2006 Jun 29
1
Problems getting past authentication using functional tests
...the uid for the template
#@user_id = get_uid
render :template => ''login/login''
end
def finger_uid
$stderr.puts "in ''fingeruid''"
# get the uid
@ppid = params[:id]
# get the uid; check with the db
begin
user = get_user_from_ppid @ppid
#user = User.find( @user_id )
@msg = "Existing user - " + user.nick_name + ""
rescue Exception
# todo: determine if the exception was thrown
# because the database is not running
@msg = "New user"
end
render :partial =&g...