lib/story.rb in rallytastic-1.2.3 vs lib/story.rb in rallytastic-1.2.4
- old
+ new
@@ -114,10 +114,10 @@
end
self.save
end
- private
+
def revision_history
- RevisionHistory.new(:rally_uri => self.revision_history_uri)
+ RevisionHistory.find_or_create_by(:rally_uri => self.revision_history_uri)
end
end