I am trying to use the SoftDelete behavior as described at the bakery but nothings is happing other than the records are being deleted as usual.
cake version 1.2.0.5427alpha Installed the soft_delete.php in /app/models/behaviors I added the fields to the db table: CREATE TABLE `contacts` ( ... `deleted` tinyint(1) unsigned NOT NULL default '0', `deleted_date` datetime NOT NULL default '0000-00-00 00:00:00', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 Then I added the SoftDelete behavior in the Model: class Contact extends AppModel { ... var $actAs = array('SoftDelete' => array('delete' => true, 'field' => 'deleted', 'field_date' => 'deleted_date', 'find' => false)); ... } What am I doing wrong? Thanks for any help --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---