#7 new
Diego Algorta

[PATCH] Add only_deleted scope to acts_as_paranoid

Reported by Diego Algorta | January 30th, 2008 @ 08:17 AM


I sent this patch by email to technoweenie's gmail acount a few days ago with no answer. I did because the ar-paranoid project on rubyforge seems dead. So no value on posting the patch there.

So I'm posting it here hoping you can review and consider merging to the plugin branch.

This patch allows you to retrieve or count only the deleted rows of a model:



It has some tests. and doesn't break any previous tests.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket