Permalink
Browse files

Shows more explicitly that the same thing goes for association destru…

…ction.
  • Loading branch information...
1 parent cae586b commit a5b3915ac8a3ab5c13b2f925abad870125ffab89 @flop flop committed Mar 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 ts/en/deltas.textile
View
@@ -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 a5b3915

Please sign in to comment.