Commit Graph

6 Commits

Author SHA1 Message Date
233cea022a Fix usability bugs and USDA importer performance
All checks were successful
parsley/pipeline/head This commit looks good
- Remove duplicate Save buttons in log creator/editor (fired with null data before recipe loaded)
- Redirect to new resource after creating recipe/log instead of dropping back to list
- Fix TheFoodCreator Cancel linking to dead route /food → /foods
- Refactor AppSearchText to use defineModel; fix search box not initializing from URL
- Fix TheCalculator variable shadowing bug (ingredient ref never updated on food select)
- Refactor UsdaImporter to use insert_all! instead of per-record save! (~240k branded foods)
- Fix string-based ndbn min comparison in build_enumerator (fragile on non-padded IDs)
- Add CLAUDE.md with project overview and architecture notes

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 14:42:22 -05:00
bb2e29f25c upgrade ruby/rails 2024-09-28 11:50:07 -05:00
2b77bc9fb8 rails 7/ruby 3 2022-12-01 18:02:26 -06:00
2e86208476 Added branded food DB 2018-09-14 19:32:49 -05:00
a9527c9626 Fixed usda parser; start updating density calculaitons 2016-03-09 20:12:38 -06:00
2f752eae61 Adding USDA weights; usda_importer refactor 2016-03-09 18:53:47 -06:00