- Change from find_or_initialize_by to find_or_create_by for regions. - Set region code to the name instead of nil. This refactor reduces complexity in how regions are created and ensures the code attribute is properly populated with the region's name, enhancing data consistency. |
||
---|---|---|
.. | ||
.keep | ||
study_rake.rake | ||
sync_geo_data.rake |