Daniel O'Connor
fa7f460510
Refactor Plantings to remove Elasticsearch dependency ( #4686 )
...
* Refactor Plantings to remove Elasticsearch dependency
This commit refactors the Plantings controller, model, and views to use
ActiveRecord instead of Searchkick/Elasticsearch.
Key changes:
- Refactored `PlantingsController#index` to use an ActiveRecord-based
`plantings` method.
- Moved `homepage_records` logic from `SearchPlantings` concern to the
`Planting` model using ActiveRecord scopes.
- Removed `SearchPlantings` concern and deleted the file.
- Updated `home/_plantings.html.haml` and `plantings/index.rss.haml` to
use dot notation for `Planting` object attributes.
- Updated specs to remove Searchkick-related setup and assertions.
Co-authored-by: CloCkWeRX <365751+CloCkWeRX@users.noreply.github.com >
* Fix Planting.reindex
* Fix test
* Mark test pending
---------
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-06-24 22:26:49 +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
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
2026-04-23 13:14:39 +00: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
2026-04-23 22:07:41 +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
2023-03-13 13:48:25 +10:30
2024-07-13 15:38:37 +09:30
2026-04-23 22:07:41 +09:30
2026-04-23 22:07:41 +09:30
2026-04-23 22:07:41 +09:30
2026-04-23 22:07:41 +09:30
2026-06-24 22:26:49 +09:30
2026-04-23 14:30:02 +00: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
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2024-01-21 13:22:25 +10:30
2026-04-28 17:51:01 +09:30
2024-07-13 15:19:09 +09:30
2024-07-24 17:07:56 +09:30
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2025-08-29 20:12:59 +09:30
2025-08-24 21:44:41 +09:30
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2026-05-12 18:07:35 +09:30
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2026-04-23 22:07:41 +09:30
2025-08-27 23:42:53 +09:30
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2026-04-26 13:09:00 +00:00
2026-04-23 14:30:02 +00:00
2025-11-29 04:07:25 +00:00
2026-04-25 16:46:15 +00:00
2026-04-23 14:30:02 +00:00
2026-04-23 14:30:02 +00:00
2025-12-01 12:53:03 +00:00
2026-04-30 04:09:26 +00:00