today_ai_weather/lib
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
..
data migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
tasks fix: ensure creation and updating of geo data 2025-02-11 09:48:54 +08:00