How to disable CakePHP to update the ‘modified’ field
Set modified to false in your data array
$data['Item']['id'] = 2;
$data['Item']['name'] = "Foo";
$data['Item']['modified'] = false;
$this->Item->save($data);
(Source: cakeqs.org)
Code in Design is the personal website of William Notowidagdo, where he blogs, infrequently, on various web development geekery. He works for Kiranatama, a Ruby on Rails outsourcing company.
Set modified to false in your data array
$data['Item']['id'] = 2;
$data['Item']['name'] = "Foo";
$data['Item']['modified'] = false;
$this->Item->save($data);
(Source: cakeqs.org)