Matchu
b93dbb8e49
Specifically, we were running a find_or_initialize_by for all 50 hangers, which isn't great. Collation logic is more complicated this way, but query count is way lower. Additionally, compare against hanger.list_id instead of hanger.list, because hanger.list will fire a query if list_id is non-nil, but that nil ID tells us everything we needed to know, anyway. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
flex | ||
helpers | ||
models | ||
views |