Permalink
Browse files

updating some of the documentation

  • Loading branch information...
1 parent 8e7877e commit 0b478395c7cbd4714537a4b20109db7e193887c2 Jeffrey Chupp committed Mar 22, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/is_paranoid.rb
View
@@ -22,7 +22,7 @@ def is_paranoid
default_scope :conditions => {:deleted_at => nil}
# Actually delete the model, bypassing the safety net. Because
- # this method is called internally by Model.delete and on the
+ # this method is called internally by Model.delete(id) and on the
# delete method in each instance, we don't need to specify those
# methods separately
def self.delete_all conditions = nil
@@ -50,7 +50,7 @@ def destroy_without_callbacks
# Override the default destroy to allow us to flag deleted_at.
# This preserves the before_destroy and after_destroy callbacks.
# Because this is also called internally by Model.destroy_all and
- # the destroy Model.destroy, we don't need to specify those methods
+ # the Model.destroy(id), we don't need to specify those methods
# separately.
def destroy
return false if callback(:before_destroy) == false

0 comments on commit 0b47839

Please sign in to comment.