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: 45,830 of 184,921
Downloads: 23,318
Daily
Ranking: 37,399 of 184,911
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 |
---|---|---|
35 | 641,910,249 | activerecord |
13,686 | 140,290 | thoughtbot-shoulda |
Owners
# | Gravatar | Handle |
---|---|---|
1 | #2343 |