[Catalyst] Maintaining updated and created timestamps in database

hkclark at gmail.com hkclark at gmail.com
Thu Mar 2 05:17:03 CET 2006


I know RoR will automatically maintain the dates of columns named
"updated_on" and "created_on".  Can I do a similar thing with
Catalyst?  My currently plan is to use  Catalyst::Model::CDBI.

I took a look at the EasyCMS example app and I see that it has a
"posted" column in a couple of tables.  I can't find any code inside
EasyCMS itself that is doing the update (but I could be overlooking
it), so I assume these are auto-updating (but I can't find any docs
that provide details on that.

Any suggestions?

Thanks!
H



More information about the Catalyst mailing list