search for: set_new_version

Displaying 1 result from an estimated 1 matches for "set_new_version".

2009 Mar 26
0
acts_as_versioned and qa
Hi, I have Article model and it has aasm_column qa, that is initially "pending". In order to get it reset qa column on new versions, I have made: def set_new_version write_attribute(:qa, "pending") end But now the aasm methods are also triggering the new version, dispite: self.non_versioned_columns << ''updated_at'' self.non_versioned_columns << ''created_at'' self.non_versioned_columns <&lt...