active_record_distinct_on
activerecord_follow_assoc
Our great sponsors
active_record_distinct_on | activerecord_follow_assoc | |
---|---|---|
1 | 1 | |
32 | 17 | |
- | - | |
4.6 | 5.4 | |
3 months ago | about 1 month 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.
active_record_distinct_on
-
How do I query for the most recently created records across multiple models !
If you're using Postgres, then DISTINCT ON may also be a good option via the active_record_distinct_on gem.
activerecord_follow_assoc
What are some alternatives?
counter_culture - Turbo-charged counter caches for your Rails app.
ActiveRecord Where Assoc - Make ActiveRecord do conditions on your associations
ActiveRecord Setops - Union, Intersect, and Difference set operations for ActiveRecord (also, SQL's UnionAll).
edge_rider - Power tools for Active Record relations (scopes)
dynamic-records-meritfront - Dynamic Records Meritfront was built to allow you to make full use of your database's capabilites, while utilizing ruby on rails & Active Record. It contains a better way to write sql queries for rails, and includes other tips and tricks to take advantage of. Perfect for all your dynamic applications, optimizations and weird edge cases!
Second Level Cache - Write Through and Read Through caching library inspired by CacheMoney and cache_fu, support ActiveRecord 4, 5 and 6.
ransack - Object-based searching.
SQL Server - SQL Server Adapter For Rails
active_record_doctor - Identify database issues before they hit production.
Scenic - Versioned database views for Rails