My new gem lets you follow associations when doing ActiveRecord queries. Here's an intro for follow_assoc.

This page summarizes the projects mentioned and recommended in the original post on /r/rails

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. activerecord_follow_assoc

    Follow associations within your ActiveRecord queries

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. edge_rider

    Power tools for Active Record relations (scopes)

    Similar gem here: https://github.com/makandra/edge_rider

  4. ActiveRecord Where Assoc

    Make ActiveRecord do conditions on your associations

    Your examples using joins would return duplicated Sections. That might force you to add a distinct. I personally find it wrong to do a distinct in a scope just to be able to make the condition I want the scope to do. It's a hidden side effect that could cause problem elsewhere and it's unexpected from the name of the scope. I made a gem to deal with that situation: where_assoc. There is definitely an overlap between both gem.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • EvilSeed: A tool for creating partial dump of database based on app models

    1 project | news.ycombinator.com | 19 Feb 2025
  • Query multiple tables easily with Rails and Postgres Views

    1 project | dev.to | 31 Jul 2024
  • A newbie's look at N+1 queries

    1 project | dev.to | 27 Jun 2024
  • Create partial anonymized dumps of your database using your app model relations

    1 project | news.ycombinator.com | 19 May 2024
  • How to avoid N+1 query using SQL views (materialized) in Rails application

    1 project | dev.to | 14 May 2024

Did you know that Ruby is
the 12th most popular programming language
based on number of references?