today_ai_weather/app
songtianlun 0bca23ff77
Some checks failed
Docker Dev / docker (push) Has been cancelled
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
Docker Main / docker (push) Has been cancelled
fix: correct state name presence check
- Update condition to check for state presence instead of name
- Ensure proper rendering of state badge in city and weather art views

This change improves the logic for displaying the state badge by
checking for the presence of the state object directly, which
prevents potential errors when the state name is not set. It
ensures that the badge is displayed correctly when a state is
associated with a city or weather art.
2025-04-26 00:29:33 +08:00
..
admin refactor: improve: changes in admin panel 2025-02-16 13:42:13 +08:00
assets refactor: replace OpenLayers with Mapbox GL 2025-02-15 11:21:12 +08:00
concerns style: format code for consistency 2025-01-23 19:03:14 +08:00
controllers feat: add default canonical URL handling 2025-04-23 20:45:49 +08:00
helpers feat: add default canonical URL handling 2025-04-23 20:45:49 +08:00
javascript feat: implement social sharing functionality 2025-02-16 11:58:25 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models refactor: simplify localized_name method 2025-04-12 16:54:00 +08:00
services feat: enhance city description generation 2025-04-12 14:31:09 +08:00
views fix: correct state name presence check 2025-04-26 00:29:33 +08:00
workers fix: update generation interval for weather arts 2025-04-15 16:23:01 +08:00