Skip to content
Browse files

before_delete -> before_remove

  • Loading branch information...
1 parent fe8b2dd commit ebdb7e423a41a5c884c051789235084f3359e8d1 @tiss committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/acts_as_versioned.rb
View
2 lib/acts_as_versioned.rb
@@ -213,7 +213,7 @@ def latest
before_save :set_new_version
after_save :save_version
after_save :clear_old_versions
- after_delete :set_deleted_flag
+ after_remove :set_deleted_flag
unless options[:if_changed].nil?
self.track_altered_attributes = true

0 comments on commit ebdb7e4

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