Rails/Postgresql query to get all recipes where recipe ingredients contains all ingredient ids from array
I know there are a few other similar questions out there, but I cannot seem to make this query work. I have a Rails 7 app with Recipe and Ingredient models joined through a Portions table (see models below). Given…