-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
In the latest stable as well as source version, setting max_versions for a class doesn't restrict revisions saved in db to the specified count.
versions.shift if version_max.present? && versions.length > version_max
This seems correct. However, when saved, there are all the versions (never actually "shifted").
Could it be something to do with putting versions under exception in only_versioned_attributes?