thailand = Country.find_by code: 'TH' City.create!([ { name: 'Bangkok', latitude: 13.7563, longitude: 100.5018, country: thailand, timezone: 'Asia/Bangkok', active: true, priority: 100 } ])