today_ai_weather/lib/tasks
songtianlun d3dae4f079 fix: ensure creation and updating of geo data
- Replace `find_or_create_by` and `find_or_initialize_by` with `find_or_create_by!` and `find_or_initialize_by!` for better error handling.
- Use the `update!` method instead of `update` to raise exceptions on failure.
- These changes improve the reliability of geographic data synchronization by ensuring failures are not silently ignored and facilitate easier troubleshooting.
2025-02-11 09:48:54 +08:00
..
.keep init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
study_rake.rake migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
sync_geo_data.rake fix: ensure creation and updating of geo data 2025-02-11 09:48:54 +08:00