google-labs-jules[bot]
13a8276313
Add version tracking to crops model ( #4343 )
...
* feat: Add version tracking to Crop model
This commit introduces version tracking for the Crop model using the PaperTrail gem.
Key changes include:
- Integrating `has_paper_trail` into the `Crop` model.
- Adding a "History" section to the crop show page to display a timeline of changes for that specific crop.
- Creating a new admin page for users with the "crop_wrangler" role to view a log of all recent crop edits, creations, and deletions.
- Fixing several N+1 query performance issues by eager-loading associated `Member` records in both the `CropsController` and the new `Admin::CropsController`.
- Refactoring view logic into a shared partial to reduce code duplication.
* Add papertrail
* Admin UI
* Add papertrail DB
* Add papertrail DB
* Rearrange
* Fix permissions
* Fix permissions
* Fix UI
* Fix UI
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: Daniel O'Connor <daniel.oconnor@gmail.com >
2025-11-30 14:47:46 +10:30
..
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2024-07-13 14:45:33 +09:30
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2024-07-13 15:19:09 +09:30
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2020-01-21 22:26:08 +13:00
2019-12-26 13:38:17 +13:00
2024-07-13 15:19:09 +09:30
2019-12-26 13:38:17 +13:00
2022-11-06 16:34:36 +10:30
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2019-12-26 13:38:17 +13:00
2023-03-13 13:48:25 +10:30
2024-07-13 15:38:37 +09:30
2019-12-31 14:47:15 +13:00
2020-01-11 21:29:37 +00:00
2019-12-26 23:42:11 +00:00
2019-12-26 23:42:11 +00:00
2019-12-26 05:13:22 +00:00
2020-08-26 12:36:58 +12:00
2020-08-26 12:36:58 +12:00
2024-07-13 14:45:33 +09:30
2025-09-21 00:49:11 +00:00
2025-09-07 20:03:18 +09:30
2025-09-20 10:15:28 +00:00
2024-01-21 13:22:25 +10:30
2024-03-10 11:36:24 +10:30
2024-07-13 15:19:09 +09:30
2024-07-24 17:07:56 +09:30
2025-08-24 16:21:05 +09:30
2025-08-24 16:21:05 +09:30
2025-08-29 20:12:59 +09:30
2025-08-24 21:44:41 +09:30
2025-09-20 10:15:28 +00:00
2025-08-24 21:10:16 +09:30
2025-08-24 21:10:16 +09:30
2025-08-24 21:10:16 +09:30
2025-08-27 23:42:53 +09:30
2025-09-01 21:47:31 +09:30
2025-09-01 23:56:13 +09:30
2025-09-01 23:56:13 +09:30
2025-11-29 03:40:59 +00:00
2025-11-29 04:07:25 +00:00
2025-11-30 14:47:46 +10:30
2025-11-30 14:47:46 +10:30