arel-helpers
Useful tools to help construct database queries with ActiveRecord and Arel. (by camertron)
Discard
ππ Soft deletes for ActiveRecord done right (by jhawthorn)
arel-helpers | Discard | |
---|---|---|
1 | 5 | |
418 | 2,286 | |
0.0% | 1.0% | |
5.0 | 5.2 | |
6 months ago | 8 months 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.
arel-helpers
Posts with mentions or reviews of arel-helpers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-13.
-
Arable - object oriented way of building Arel queries
Is ActiveRecord::Base.[] taken? If not, it seems like it would be cleaner than defining class methods based on column names. I see now that arel-helpers does it like this.
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
What are some alternatives?
When comparing arel-helpers and Discard you can also consider the following projects:
BabySqueel - :pig: An expressive query DSL for Active Record
Paranoia - acts_as_paranoid for Rails 5, 6 and 7
activerecord_json_validator - π© ActiveRecord::JSONValidator makes it easy to validate JSON attributes against a JSON schema.
PaperTrail - Track changes to your rails models
StoreModel - Work with JSON-backed attributes as ActiveRecord-ish models
ActsAsParanoid - ActiveRecord plugin allowing you to hide and restore records without actually deleting them.