today_ai_weather/app/models
songtianlun cb8e5dd57d
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
refactor: simplify localized_name method
- Remove I18n translation from localized_name
- Return city name directly instead

This change simplifies the method's implementation by returning
the city name directly, avoiding the overhead of translation.
Additionally, it improves code clarity by reducing complexity.
2025-04-12 16:54:00 +08:00
..
ahoy chore: clean up trailing whitespace and formatting 2025-01-27 00:43:36 +08:00
concerns feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
admin_user.rb chore: clean up code style and unused fixtures 2025-01-20 18:08:55 +08:00
application_record.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
city.rb refactor: simplify localized_name method 2025-04-12 16:54:00 +08:00
country.rb feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
region.rb feat: add translatable name module for countries and regions 2025-02-21 23:46:25 +08:00
state.rb feat: add state filtering to cities index 2025-02-26 09:48:39 +08:00
subregion.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
user.rb feat: enhance user authentication features 2025-02-11 16:18:10 +08:00
weather_art.rb refactor: update weather art descriptions 2025-04-12 15:28:47 +08:00