Goldiloader
Just the right amount of Rails eager loading (by salsify)
query_delegator
Composable and re-usable query objects for Active Record. (by RichOrElse)
Our great sponsors
Goldiloader | query_delegator | |
---|---|---|
5 | 2 | |
1,536 | 11 | |
1.3% | - | |
6.2 | 2.6 | |
8 days ago | about 3 years 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.
Goldiloader
Posts with mentions or reviews of Goldiloader.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-31.
-
I received much feedback about resolving the N+1 problem without updating the code. So I have decided to give another writing round to elaborate on the implementation. Please have a look and let me know what you think.
Been using https://github.com/salsify/goldiloader in a large production application for many years.
-
Proof of Concept: auto-preloading in ActiveRecord
There are many gems doing this. I use this one : https://github.com/salsify/goldiloader
-
Enhanced ActiveRecord preloading
Thank you for sharing this with me! It seems that https://github.com/salsify/goldiloader gem does the same as https://github.com/DmitryTsepelev/ar_lazy_preload. It would be great to compare both solutions.
-
N+1 problem will never be an issue with N1Loader gem
Sorry, seems my post wasn't clear at all. So https://github.com/salsify/goldiloader is great indeed! But it only preloads automatically for default ActiveRecord associations without the need of you to do it on your own.
-
Prosopite is trending on GitHub! Thank you!
Prosopite looks cool, it's is similar to https://github.com/salsify/goldiloader, though goldiloader will also rewrite the query to address the N+1 issue. You should be able to use both and verify goldiloader is working by checking that prosopite logs no N+1 queries.
query_delegator
Posts with mentions or reviews of query_delegator.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Query Delegator
I wrote a gem to help in writing query objects as interchangeable components. Feel free to 🌟 at https://github.com/RichOrElse/query_delegator.
-
Query Delegator: Query Object Pattern Gem for ActiveRecord scopes
I wrote a Ruby Gem, it's like Draper but instead of decorating models it decorates scopes. I appreciate any feedback. https://github.com/RichOrElse/query_delegator
What are some alternatives?
When comparing Goldiloader and query_delegator you can also consider the following projects:
Enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid support
rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
ActiveValidators - Collection of ActiveModel/ActiveRecord validators
ActiveRecord::Turntable - ActiveRecord Sharding Plugin
mini_record - ActiveRecord meets DataMapper, with MiniRecord you are be able to write schema inside your models.
ActiveRecordExtended - Adds additional postgres functionality to an ActiveRecord / Rails application
PaperTrail - Track changes to your rails models
SanitizeSqlLike - Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.
Goldiloader vs Enumerize
query_delegator vs Enumerize
Goldiloader vs rails_or
query_delegator vs ActiveValidators
Goldiloader vs ActiveValidators
query_delegator vs ActiveRecord::Turntable
Goldiloader vs mini_record
query_delegator vs mini_record
Goldiloader vs ActiveRecordExtended
query_delegator vs PaperTrail
Goldiloader vs SanitizeSqlLike
Goldiloader vs ActiveRecord::Turntable