servings on ingredients needs to be cache countered. I think in theory we could hold queries like diner#request_amount_from and meal#cost completely within the database if servings is a db field on ingredients which is much more efficient than ruby looping through all.
servings on ingredients needs to be cache countered. I think in theory we could hold queries like diner#request_amount_from and meal#cost completely within the database if servings is a db field on ingredients which is much more efficient than ruby looping through all.