Discard
Paranoia
Our great sponsors
Discard | Paranoia | |
---|---|---|
5 | 2 | |
2,007 | 2,840 | |
- | 0.5% | |
6.0 | 5.7 | |
2 months ago | 9 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Discard
- Accessing point in time data when data changes over time
-
What are the gems that every Ruby dev should know how to use?
discard - a soft-delete implementation that avoids a lot of the gotchas associated with paranoia or acts_as_paranoid gem.
-
Rails application boilerplate for fast MVP development
add discard
Paranoia
-
We lost 54k GitHub stars
https://github.com/rubysherpas/paranoia is enough to solve problems at very large scales.
There is nothing about Rails or MVC preventing someone from doing this. This is a very common design principle for all kind of ERP and BPM systems: don't ever delete anything.
-
RoR Gems: Pin To Plane For Developing RoR Application
3. Paranoia
What are some alternatives?
PaperTrail - Track changes to your rails models
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
Destroyed At - ActiveRecord Mixin for Safe Destroys
mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.
PermenantRecords - Rails Plugin - soft-delete your ActiveRecord records. It's like an explicit version of ActsAsParanoid
arel-helpers - Useful tools to help construct database queries with ActiveRecord and Arel.
ActiveRecordExtended - Adds additional postgres functionality to an ActiveRecord / Rails application
marginalia - Attach comments to ActiveRecord's SQL queries