The quickest way that comes to mind is to explicitly invalidate (kill)
the cache file, as follows (all the model cache files are kept in
tmp/cache/models):

cache($pathToCacheFile, null, '-1 minute');

Then I think you might have to delete the in-memory copy of the
description out of the database object (as inherited from DataSource,
I'm pretty sure it's a private property, so you might have to cheat a
little).

Then, just ask the model for it's description again using loadInfo()
(or by passing the model object directly to the describe() method of
the DB object).

Anyway, hope that helps.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to