Categories: None [Edit]
deactivatable
Deactivatable provides methods and a default_scope to allow ActiveRecord objects to be deactivated instead of deleted.
This is useful if an object needs to be removed from general use, but it's data needs to be retained.
Additionally, Deactivatable provides the ability to specify dependencies which also need to be deactivated.
Deactivation is determined by populating a deactivated_at field with the date time at which deactivation happened.
Total
Ranking: 50,223 of 197,207
Downloads: 24,242
Daily
Ranking: 81,756 of 197,176
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Depends on
| Rank | Downloads | Name |
|---|---|---|
| 37 | 847,985,818 | activerecord |
| 11,893 | 244,087 | thoughtbot-shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #2343 |