Discard
๐๐ Soft deletes for ActiveRecord done right (by jhawthorn)
Audited
Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models. (by collectiveidea)
Discard | Audited | |
---|---|---|
5 | 6 | |
2,031 | 3,315 | |
- | 0.2% | |
6.0 | 7.5 | |
3 months ago | 17 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of Discard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-12.
-
Donโt allow associations on discarded records
Hello there! I am using the Discard gem. I basically want new records associated to them to be invalid.
- 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
-
Looking For Gem Recommendations For Alternatives
indeed discard offers better performance options than paranoia: https://github.com/jhawthorn/discard#working-with-associations
Audited
Posts with mentions or reviews of Audited.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-09.
-
Best rails tools to automatically handle logging of things like all a user's actions, or changes to a record in a module - primarily for audit purposes.
๐This and Audited Gem
-
Activity Stream - implementing it n Rails
paper_trail is a good suggestion, Iโve worked with it in the past ๐ Another one that I found during the current investigation is https://github.com/collectiveidea/audited
-
Temporality/time-travelling in DB with ActiveRecord?
that and also have a look at audited https://github.com/collectiveidea/audited
- Looking for an observer gem
- Looking for Gem recommendations for alternatives to Paranoia
What are some alternatives?
When comparing Discard and Audited you can also consider the following projects:
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
PaperTrail - Track changes to your rails models
Logidze - Database changes log for Rails
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
arel-helpers - Useful tools to help construct database queries with ActiveRecord and Arel.
ActiveRecordExtended - Adds additional postgres functionality to an ActiveRecord / Rails application
Espinita - Audit activerecord models like a boss (and works with rails 4!)
Destroyed At - ActiveRecord Mixin for Safe Destroys
mongoid-history - Multi-user non-linear history tracking, auditing, undo, redo for mongoid.