15 lines
309 B
Ruby
15 lines
309 B
Ruby
|
brazil = Country.find_by code: 'BZ'
|
||
|
|
||
|
City.create!([
|
||
|
{
|
||
|
name: 'Rio de Janeiro',
|
||
|
latitude: -22.9068,
|
||
|
longitude: -43.1729,
|
||
|
country: brazil,
|
||
|
timezone: 'America/Sao_Paulo',
|
||
|
active: true,
|
||
|
priority: 80,
|
||
|
last_weather_fetch: 10.hours.ago,
|
||
|
last_image_generation: 10.hours.ago
|
||
|
}
|
||
|
])
|