Rails 6.1 adds query method associated to check for the association presence

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • Ruby on Rails

    Ruby on Rails

    https://github.com/rails/rails/pull/40696/files#diff-79b53b2602bf702bdd8ce677e096be6a6923a54236e17237c16068a510078683R69-R77

  • ActiveRecord Where Assoc

    Make ActiveRecord do conditions on your associations

    Assuming that ... was indicating some form of annoyance with that distinct, you might want to take a look at activerecord_where_assoc

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

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