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,348 of 197,814
Downloads: 24,261
Daily
Ranking: 75,212 of 197,776
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 | 856,307,881 | activerecord |
| 11,941 | 244,428 | thoughtbot-shoulda |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | #2343 |