[Catalyst] updating $c->user at runtime
Yuval Kogman
nothingmuch at woobling.org
Tue Feb 7 13:52:19 CET 2006
On Tue, Feb 07, 2006 at 12:49:24 +0000, Jess Robinson wrote:
>
> No, it's not the same. Your $person (result of search), is a ResultSet,
> which allows updates via hashref. The user->user obj is just a Row, whic
> does not (update just updates dirty_columns), so you need to set them
> individually like so:
OOps...
Thanks Jess!
--
() Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418 perl hacker &
/\ kung foo master: /me wields bonsai kittens: neeyah!!!!!!!!!!!!!!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060207/53c1c95b/attachment.pgp
More information about the Catalyst
mailing list