Permalink
Browse files

Merge pull request #9 from flop/master

Show more explicitly that we also need to set delta on association destruction
  • Loading branch information...
2 parents cae586b + a5b3915 commit 7f34c667a840dee4084ca0fb8090efdc360e8f02 @pat committed Mar 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ts/en/deltas.textile
View
1 ts/en/deltas.textile
@@ -62,6 +62,7 @@ Then, in the Comment model, you'd want to have something like the following:
{% highlight rb %}
after_save :set_article_delta_flag
+after_destroy :set_article_delta_flag
# ...

0 comments on commit 7f34c66

Please sign in to comment.