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: 47,790 of 188,354
Downloads: 23,757
Daily
Ranking: 46,540 of 188,339
Downloads: 5
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 |
|---|---|---|
| 36 | 734,817,456 | activerecord |
| 12,715 | 179,857 | thoughtbot-shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #2343 |