lib/draftsman/model.rb in draftsman-0.3.2 vs lib/draftsman/model.rb in draftsman-0.3.3

- old
+ new

@@ -231,10 +231,10 @@ # Stash previous draft in case it needs to be reverted later if self.draft? attrs = send(self.class.draft_association_name).attributes - data[:previous_draft] = if self.class.draft_class.previous_changes_col_is_json? + data[:previous_draft] = if self.class.draft_class.previous_draft_col_is_json? attrs else Draftsman.serializer.dump(attrs) end end