After an evening of getting knee deep in the Rails core debugging and issue with counter_cache on a has_many :through, it seems this has been reported on lighthouse, and a fix has been applied in edge. The issue is this. In my scenario, I have a Drink, which has many Ingredient through a DrinkIngredient model. I also have a counter_cache called ingredients_count to keep track of how many ingredien