Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
git-svn-id: http://llama/svn/trunk/ruby/acts_as_soft_deletable@239 bb26965d-a405-0410-8ce8-d62df5cd24e9
  • Loading branch information
(no author) committed Mar 13, 2008
1 parent a3a974e commit 42b5ed4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/acts_as_soft_deletable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def deleted_class
module InstanceMethods
def self.included(base)
base.class_eval do
# don't use before_destroy callback because that can't be transactional.
alias_method_chain :destroy, :soft_delete
end
end
Expand Down

0 comments on commit 42b5ed4

Please sign in to comment.