- Define a new Rake task `sync_city` to synchronize city data - Update the `find_or_create_by!` method to include additional attributes such as `flag`, `wiki_data_id`, `active`, and `priority` This new task allows for better management of city data by ensuring that all relevant attributes are set during the synchronization process. It enhances the existing functionality by providing more detailed information for each city. |
||
---|---|---|
.. | ||
data | ||
tasks |