Logidze
Discard
Our great sponsors
Logidze | Discard | |
---|---|---|
6 | 5 | |
1,556 | 2,024 | |
- | - | |
5.5 | 6.0 | |
about 2 months ago | 3 months 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.
Logidze
-
Versioning data in Postgres? Testing a Git like approach
There's an interesting approach to it that works with Rails and PostgreSQL using triggers.
https://github.com/palkan/logidze
- Database changes log for Rails
-
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.
https://github.com/palkan/logidze is my favorite for these kind of things
-
How would you build an audit log in Rails for a high-throughput API?
Have you considered https://github.com/palkan/logidze ?
- Temporality/time-travelling in DB with ActiveRecord?
-
Is it a terrible idea to manually create a table in a MySQL database generated by a rails model?
Something like this might be an option? https://github.com/palkan/logidze
Discard
-
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
What are some alternatives?
PaperTrail - Track changes to your rails models
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
Audited - Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.
marginalia - Attach comments to ActiveRecord's SQL queries
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.
Destroyed At - ActiveRecord Mixin for Safe Destroys
arel-helpers - Useful tools to help construct database queries with ActiveRecord and Arel.
rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
ActiveRecordExtended - Adds additional postgres functionality to an ActiveRecord / Rails application