Skip to content

Commit

Permalink
Fixes redbooth#4 using true instead of a hardcoded 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Campos committed Dec 9, 2011
1 parent ad91bb9 commit add4d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/immortal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit add4d6b

Please sign in to comment.