Re: model.php can't save data due to beforeSave

2007-07-27 Thread matlin
Maybe your behavior test doesn't return at all? I made that mistake once. Void is not true. On 27 Juli, 06:10, Grant Cox <[EMAIL PROTECTED]> wrote: > It runs the beforeSave() function, which your model can implement if > you want to check what is about to be saved, and either modify the > data be

Re: model.php can't save data due to beforeSave

2007-07-26 Thread Grant Cox
It runs the beforeSave() function, which your model can implement if you want to check what is about to be saved, and either modify the data before saving, deny the save completely, or of course allow the save to continue. By default there is a stub implementation in your / cake/libs/model/model.

model.php can't save data due to beforeSave

2007-07-26 Thread jeff_m
Hi, another newbie here, and I've created a few mvcs and with many of them when I attempt to add to an existing table (or update), I get 'table can not be saved'. With debug at 3 I noticed that there wasn't even an attempt to perform the insert, so its failure needed to happen during either valida