I've installed the acts_as_versioned gem, and it shows up as installed when i do a "gem list" After installing it, I set up my new model with the "acts_as_versioned" line in its model file. I think went to run my migration to create this table, and I got the following error: == CreateDpslevels: migrating ================================================ -- create_table(:dpslevels) -> 0.0548s rake aborted! undefined local variable or method `acts_as_versioned' for Dpslevel:Class (See full trace by running task with --trace) Any clue what might by going on?
on 2006-04-13 22:46
on 2006-04-14 01:41
acts_as_versioned needs to be installed as a plugin in your app. `cd` to your app directory and then `script/plugin install acts_as_versioned`. If that doesn't work try `script/plugin discover` before `script/ plugin install acts_as_versioned`. - Peter