analogrithems/revisionable — Issue #1: No listrevisions function?
Author: ayauto
Created: 2012-02-19 18:30:18+00:00
State: open

Hi,

Have setup the schema by copying to the plugins folder & the rest by pasting the model files in the /model folder.

I put the following on top of one model.

var $actAs = array('Revisionable.Revisionable');

Then in my controller, I try calling it thus:

$revisions = $this->Driver->listRevisions($this->Driver->read(null, $id));

However, I get this error:

Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'listRevisions' at line 1 [CORE\cake\libs\model\datasources\dbo_source.php, line 684]
Query: listRevisions