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 - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • activerecord_follow_assoc

    Follow associations within your ActiveRecord queries

  • edge_rider

    Power tools for Active Record relations (scopes)

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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

  • 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
  • Everyday performance rules for Ruby on Rails developers

    2 projects | /r/rails | 7 Dec 2023
  • BasedUUID: URL-friendly, Base32-encoded UUIDs for Rails models

    1 project | /r/ruby | 6 Dec 2023
  • N1Loader is alive as ever Enhance your GraphQL API by getting rid of N+1 issues

    1 project | news.ycombinator.com | 30 Jul 2023