[Catalyst] updating $c->user at runtime

Wijnand Wiersma wijnand at nedbsd.nl
Tue Feb 7 12:00:54 CET 2006


Op 7-feb-2006, om 11:41 heeft Yuval Kogman het volgende geschreven:
>
> $person and $c->user->user are essentially the same thing here.

Ah, so
$c->user->user->update($valid_results);
is the same as
$person->update($valid_results); ?

It doesn't seem to update anything.

> It's as if you just did
>
> 	$person = $model->search(
> 		username => $person->username,
> 	);
>
Hmm, yes this sounds pretty dumb :-)

Wijnand



More information about the Catalyst mailing list