Skip to content

Commit

Permalink
Ensure record is accessible after destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
dchentech committed Jul 7, 2011
1 parent c8d8469 commit 4a22ba2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rails3_acts_as_paranoid.rb
Expand Up @@ -108,6 +108,7 @@ def destroy
self.class.delete_all!(:id => self.id)
end
self.paranoid_value = self.class.delete_now_value
freeze
end
end
end
Expand Down

0 comments on commit 4a22ba2

Please sign in to comment.