|4 months ago||3 months ago|
|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.
Enhanced ActiveRecord preloading
6 projects | reddit.com/r/rails | 19 May 2022
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
1 project | reddit.com/r/rubyonrails | 23 Jan 2022
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!
1 project | reddit.com/r/ruby | 20 Feb 2021
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.
What are some alternatives?
ActiveValidators - Collection of ActiveModel/ActiveRecord validators
BabySqueel - :pig: An expressive query DSL for Active Record
Enumerize - Enumerated attributes with I18n and ActiveRecord/Mongoid support
Ruby JSON Schema Validator - Ruby JSON Schema Validator
ValidatesZipcode - Postal code / zipcode validation for Rails, supporting 233 country codes
mini_record - ActiveRecord meets DataMapper, with MiniRecord you are be able to write schema inside your models.
rails_or - Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
Discard - 🃏🗑 Soft deletes for ActiveRecord done right
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.
ActiveRecord::Turntable - ActiveRecord Sharding Plugin
pluck_all - A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
activerecord_json_validator - 🔩 ActiveRecord::JSONValidator makes it easy to validate JSON attributes against a JSON schema.