skleung / Community

A rails application to simplify cooking costs among friends.
3 stars 0 forks source link

Save ingredients#servings in db #40

Closed kacasey8 closed 10 years ago

kacasey8 commented 10 years ago

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.