forked from technoweenie/acts_as_versioned
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d86c363
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it determine which columns to version, based on the #{model}_versions table?
The documentation for ActiveRecord::Acts::Versioned::ClassMethods#acts_as_versioned says:
but this is clearly not the case (with version 0.5.2). I get
for any attributes missing in the _versions table.