today_ai_weather/app/models
songtianlun 34342a9678 refactor: make country and state associations optional
- Change 'belongs_to :country' association to be optional
- Change 'belongs_to :state' association to be optional

This refactoring allows a City record to exist without having
an associated Country or State, thus increasing the flexibility
of the data model for various use cases.
2025-02-12 13:08:12 +08:00
..
ahoy chore: clean up trailing whitespace and formatting 2025-01-27 00:43:36 +08:00
concerns init with rails8 + active-admin 2025-01-19 01:13:59 +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: make country and state associations optional 2025-02-12 13:08:12 +08:00
country.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
region.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +08:00
state.rb migrate with countries_states_cities_db 2025-02-08 17:42:50 +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 feat: add photo swipe lightbox functionality 2025-02-01 14:19:19 +08:00