So, for some reason, anything I do to data in the beforeSave callback,
though it works on single records, does not work when using saveMany.
What gives? If i do the following:
public function beforeSave() {
$this->data['foo'] = 'bar'
die($this->data);
}
$this->data does in fact get changed, but saveMany just ignores it and
saves the original data.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php