search for: non_versioned_columns

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

2009 Mar 26
0
acts_as_versioned and qa
...rticle 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 << ''qa'' self.non_versioned_columns << ''published_at'' How to make the approve! method to start working, while d...