google-labs-jules[bot] and CloCkWeRX
ff9d99afe5
Improve Charts::CropsController with caching and refactoring
...
- Added Rails.cache.fetch to `sunniness` and `planted_from` actions.
- Refactored crop loading into a `before_action :set_crop`.
- Updated specs to verify caching behavior and ensure coverage.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com >
2026-04-27 07:46:08 +00:00
Daniel O'Connor
2e56f8cb2f
Cache what a crop is harvested for
2026-04-27 03:52:11 +00:00
Brenda
7257b2ada1
Update with frozen literals
2020-01-10 16:50:52 +13:00
Brenda Wallace
cb6a06feb6
find by slug
2019-01-18 20:02:15 +13:00
Brenda Wallace
07f06705af
Fixed pi charts path
2019-01-06 08:45:42 +13:00
Brenda Wallace
65b4c7dbc1
Revert "Auto corrected by following Style/StringLiterals"
...
This reverts commit ab56a3c6b3 .
2018-02-09 07:58:47 +13:00
Awesome Code
ab56a3c6b3
Auto corrected by following Style/StringLiterals
2018-02-07 10:20:26 +13:00
Brenda Wallace
cf93489af7
Fixed crops chart permissions by moving to another controller
2018-01-23 09:00:34 +13:00