From add4d6b5f3f272c504233399a95a76c056577555 Mon Sep 17 00:00:00 2001 From: Roger Campos Date: Sat, 10 Dec 2011 00:39:08 +0100 Subject: [PATCH] Fixes #4 using true instead of a hardcoded 1 --- lib/immortal.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/immortal.rb b/lib/immortal.rb index 109ada2..723fb67 100644 --- a/lib/immortal.rb +++ b/lib/immortal.rb @@ -84,7 +84,7 @@ def find_only_deleted(*args) end def immortal_delete_all(conditions = nil) - unscoped.update_all({:deleted => 1}, conditions) + unscoped.update_all({:deleted => true}, conditions) end def delete_all!(*args)