Hi Christopher,

This is a CDBI thing - Class::DBI can be auto-update or manual update,
in recent releases it defaults to manual update, because auto-update
can cause a lot of problems.. anyway, your solution is to call
$object->update() to save any changes.

It is worth getting in the habit of doing update() often as it helps
you think about the object changes as transactions.

If you're using Maypole::Model::CDBI::Plain then you can specify
auto-update in your CDBI base class.

Anyway - all you need to know is in the Class::DBI manual (which is
long and can contain hard to find gems), and the wiki at
www.class-dbi.com - there is also a mailing list which I would suggest
subscribing to (and searching for answers, as the archive contains a
lot of answers to questions that come up repeatedly).

regards,

Aaron

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to