Skip to content
Browse files

delete! method does not exist, changed to destroy

  • Loading branch information...
1 parent 25accd5 commit c623806ab5d54162a4d3204453a5288e14f4f5e3 @resgraph resgraph committed Apr 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/dag/edges.rb
View
2 lib/dag/edges.rb
@@ -243,7 +243,7 @@ def push_associated_modification!(edge)
raise ActiveRecord::ActiveRecordError, 'ERROR: cannot modify our self in this way' if edge == self
edge.do_not_perpetuate = true
if edge.count == 0
- edge.destroy!
+ edge.destroy
else
edge.save!
end

0 comments on commit c623806

Please sign in to comment.
Something went wrong with that request. Please try again.