Files
growstuff/spec/requests
Daniel O'Connorandgoogle-labs-jules[bot] c7eef27f9a Fix new harvest from planting not prefilling crop (#4786)
When initializing a new harvest from a planting (via `planting_slug`
or `harvest[planting_id]`), `HarvestsController#new` now properly looks
up the planting, assigns `@harvest.planting` and `@harvest.crop` from
the planting's crop, and sets `@planting` and `@crop` instance variables
for view rendering.

Regression tests added to `HarvestsController` spec and request spec.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-09-20 14:10:14 +09:30
..
2026-04-26 13:09:00 +00:00
2019-12-20 03:33:23 +00:00
2019-12-20 03:33:23 +00:00
2019-12-20 03:33:23 +00:00
2019-12-20 03:33:23 +00:00
2019-12-20 03:33:23 +00:00