today_ai_weather/app/views/home
songtianlun c35f09660a
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker / docker (push) Has been cancelled
fix: handle nil safely for latest arts image
- Update image tag to safely access the first latest art
- Use safe navigation operator to prevent potential nil errors

This change ensures that if there are no latest arts or if the
image is not attached, the application will not raise an error.
It improves the robustness of the view by handling edge cases.
2025-02-19 14:18:14 +08:00
..
_arts.html.erb feat: add formatted time method for weather_art 2025-02-14 13:42:42 +08:00
index.html.erb fix: handle nil safely for latest arts image 2025-02-19 14:18:14 +08:00