- Change method from find_or_create_by to find and check for nil - Initialize a new Country object only if none exists This fix addresses the potential issue where a country is being unnecessarily created instead of found, improving the efficiency of the country data synchronization process. This change also adds clarity to the method's intent by clearly separating the find and the initialization logic. |
||
---|---|---|
.. | ||
.keep | ||
study_rake.rake | ||
sync_geo_data.rake |