public
Description: Dirty ActiveRecord Versioning (update of acts_as_versioned)

Home

Welcome to the version_fu wiki!

TroubleShooting (2 issues, 2 resolved)

First issue was that you must add a version(int) column to the table you are versioning

Second issue is that version_fu assumes that there will be a copy of version one in the versions table. This is assured if you create through a version_fu model, however if you are using legacy data and you add version_fu to an existing model with data already present, subsequent updates to your model will not store the original version of your model in the versions table (only new data will be versioned). You must either copy over your original versions by hand, or recreate your model instances now that it is version_fu enabled.

Last edited by tansaku, 14 days ago
Versions: