technoweenie / acts_as_paranoid

ActiveRecord plugin allowing you to hide and restore records without actually deleting them.

This URL has Read+Write access

jcnetdev (author)
Sat Jul 19 16:26:49 -0700 2008
technoweenie (committer)
Mon Dec 15 20:06:54 -0800 2008
commit  8dd42642acc742ed345de0dd590c443828f77455
tree    71d4bab689e8135f49d734acc17ff1db4acea6d3
parent  bb0164ea1a9a76f30d7ee4f59204c73cfab8afb4
acts_as_paranoid / README
100644 26 lines (14 sloc) 0.489 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
= acts_as_paranoid
 
Overrides some basic methods for the current model so that calling #destroy sets a 'deleted_at' field to the
current timestamp. ActiveRecord is required.
 
== Resources
 
Install
 
* gem install acts_as_paranoid
 
Rubyforge project
 
* http://rubyforge.org/projects/ar-paranoid
 
RDocs
 
* http://ar-paranoid.rubyforge.org
 
Subversion
 
* http://techno-weenie.net/svn/projects/acts_as_paranoid
 
Collaboa
 
* http://collaboa.techno-weenie.net/repository/browse/acts_as_paranoid