Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 4.0613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Palestinian Territory"}, "abbr"=>"PT", "_id"=>"PT", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 108.7752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kaileyhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kaileyhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kaileyhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kaileyhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505000000'), "name"=>{"en"=>"Kaileyhaven0"}, "geom"=>[-47.0, -16.0], "nation_id"=>"PT", "slug"=>"kaileyhaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7027ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Peru"}, "_id"=>"BR", "slug"=>"peru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5338ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Turks and Caicos Islands"}, "_id"=>"BR", "slug"=>"turks-and-caicos-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4224ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ML"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ML"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"ML", "_id"=>"ML", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gibraltar"}, "abbr"=>"GB", "_id"=>"GB", "slug"=>"gibraltar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hesterchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hesterchester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hesterchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hesterchester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505010000'), "name"=>{"en"=>"Hesterchester1"}, "geom"=>[-42.0, -18.0], "nation_id"=>"GB", "slug"=>"hesterchester1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4371ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6665ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5603ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9661ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BD", "_id"=>"BD", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"anikashire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Anikashire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"anikashire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Anikashire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2239ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505020000'), "name"=>{"en"=>"Anikashire2"}, "geom"=>[-21.0, -1.0], "nation_id"=>"BD", "slug"=>"anikashire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-21.0, -1.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.4457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3595ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6884ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Paraguay"}, "abbr"=>"PJ", "_id"=>"PJ", "slug"=>"paraguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hettiemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hettiemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hettiemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hettiemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505030000'), "name"=>{"en"=>"Hettiemouth3"}, "geom"=>[-27.0, -6.0], "nation_id"=>"PJ", "slug"=>"hettiemouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UD", "_id"=>"UD", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5771ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d1426d696d5505030000')} update={"$set"=>{"nation_id"=>"UD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5716ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"fiji"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"fiji"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Fiji"}, "abbr"=>"FK", "_id"=>"FK", "slug"=>"fiji"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-tamia4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Tamia4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-tamia4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Tamia4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505040000'), "name"=>{"en"=>"North Tamia4"}, "geom"=>[-22.0, -17.0], "nation_id"=>"FK", "slug"=>"north-tamia4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2875ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MV", "_id"=>"MV", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d1426d696d5505040000')} update={"$set"=>{"nation_id"=>"MV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4542ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MO", "$or"=>[{"name.en"=>"Port Horace"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MO", "$or"=>[{"name.en"=>"Port Horace"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d1426d696d5505050000'), "name"=>{"en"=>"Port Horace"}, "abbr"=>"POR", "nation_id"=>"MO", "slug"=>"port-horace"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3981ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4229ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4414ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5294ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mauritania"}, "_id"=>"BR", "slug"=>"mauritania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5499ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CS", "_id"=>"CS", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"India"}, "_id"=>"BR", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4476ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NF", "_id"=>"NF", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NF", "$or"=>[{"name.en"=>"North Martina"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NF", "$or"=>[{"name.en"=>"North Martina"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6000000'), "name"=>{"en"=>"North Martina"}, "abbr"=>"NOR", "nation_id"=>"NF", "slug"=>"north-martina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4601ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guyana"}, "abbr"=>"GU", "_id"=>"GU", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-joel0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Joel0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-joel0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Joel0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6010000'), "name"=>{"en"=>"Port Joel0"}, "geom"=>[-28.0, 4.0], "nation_id"=>"GU", "slug"=>"port-joel0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 2.5737ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mongolia"}, "abbr"=>"MW", "_id"=>"MW", "slug"=>"mongolia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-fannie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Fannie1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-fannie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Fannie1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6020000'), "name"=>{"en"=>"West Fannie1"}, "geom"=>[-38.0, -8.0], "nation_id"=>"MW", "slug"=>"west-fannie1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Morocco"}, "abbr"=>"MP", "_id"=>"MP", "slug"=>"morocco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d1cc6d696d58d6020000')} update={"$set"=>{"nation_id"=>"MP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5626ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6376ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Monaco"}, "abbr"=>"MA", "_id"=>"MA", "slug"=>"monaco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-erastad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Erastad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-erastad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Erastad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6030000'), "name"=>{"en"=>"West Erastad2"}, "geom"=>[-33.0, -5.0], "nation_id"=>"MA", "slug"=>"west-erastad2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BR", "_id"=>"BR", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3809ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d1cc6d696d58d6030000')} update={"$set"=>{"nation_id"=>"BR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3284ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4412ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VW", "_id"=>"VW", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dahliaton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dahliaton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dahliaton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dahliaton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6040000'), "name"=>{"en"=>"Dahliaton3"}, "geom"=>[-48.0, -30.0], "nation_id"=>"VW", "slug"=>"dahliaton3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-48.0, -30.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7768ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MG", "_id"=>"MG", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sylviafort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sylviafort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sylviafort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sylviafort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d1cc6d696d58d6050000'), "name"=>{"en"=>"Sylviafort4"}, "geom"=>[-31.0, -25.0], "nation_id"=>"MG", "slug"=>"sylviafort4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6890ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8827ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CO", "_id"=>"CO", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CO", "$or"=>[{"name.en"=>"Laurynbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CO", "$or"=>[{"name.en"=>"Laurynbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85000000'), "name"=>{"en"=>"Laurynbury"}, "abbr"=>"LAU", "nation_id"=>"CO", "slug"=>"laurynbury"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3345ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5565ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guinea-Bissau"}, "_id"=>"BR", "slug"=>"guinea-bissau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1754ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CV", "_id"=>"CV", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6143ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4981ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mauritius"}, "_id"=>"BR", "slug"=>"mauritius"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4598ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4433ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ecuador"}, "abbr"=>"EL", "_id"=>"EL", "slug"=>"ecuador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"keltonfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Keltonfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"keltonfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Keltonfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85010000'), "name"=>{"en"=>"Keltonfurt0"}, "geom"=>[-36.0, -3.0], "nation_id"=>"EL", "slug"=>"keltonfurt0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6415ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85020000'), "name"=>{"en"=>"South Franciscoton1"}, "city_id"=>BSON::ObjectId('5471d2236d696d5a85010000'), "slug"=>"south-franciscoton1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3993ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5270ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5645ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tanzania"}, "abbr"=>"TJ", "_id"=>"TJ", "slug"=>"tanzania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-suzanne1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Suzanne1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-suzanne1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Suzanne1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4477ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85030000'), "name"=>{"en"=>"South Suzanne1"}, "geom"=>[-23.0, -9.0], "nation_id"=>"TJ", "slug"=>"south-suzanne1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5272ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3568ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9798ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ED"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ED"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"ED", "_id"=>"ED", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brennanhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brennanhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brennanhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brennanhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4096ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85040000'), "name"=>{"en"=>"Brennanhaven2"}, "geom"=>[-49.0, 0.0], "nation_id"=>"ED", "slug"=>"brennanhaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6328ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-49.0, 0.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5473ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1255ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Caledonia"}, "abbr"=>"NM", "_id"=>"NM", "slug"=>"new-caledonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"koeppberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Koeppberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"koeppberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Koeppberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85050000'), "name"=>{"en"=>"Koeppberg3"}, "geom"=>[-27.0, -5.0], "nation_id"=>"NM", "slug"=>"koeppberg3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ireland"}, "abbr"=>"IQ", "_id"=>"IQ", "slug"=>"ireland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6421ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2236d696d5a85050000')} update={"$set"=>{"nation_id"=>"IQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4275ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5743ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guyana"}, "abbr"=>"GI", "_id"=>"GI", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.7974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-mavisfurt4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Mavisfurt4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-mavisfurt4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Mavisfurt4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2236d696d5a85060000'), "name"=>{"en"=>"Port Mavisfurt4"}, "geom"=>[-49.0, -5.0], "nation_id"=>"GI", "slug"=>"port-mavisfurt4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5402ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "abbr"=>"SL", "_id"=>"SL", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7009ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2236d696d5a85060000')} update={"$set"=>{"nation_id"=>"SL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6771ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7387ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7307ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Vincent and the Grenadines"}, "abbr"=>"SF", "_id"=>"SF", "slug"=>"saint-vincent-and-the-grenadines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-griffin0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Griffin0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-griffin0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Griffin0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac000000'), "name"=>{"en"=>"North Griffin0"}, "geom"=>[-23.0, -13.0], "nation_id"=>"SF", "slug"=>"north-griffin0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5847ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7356ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Zambia"}, "abbr"=>"ZQ", "_id"=>"ZQ", "slug"=>"zambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-thoratown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Thoratown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-thoratown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Thoratown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac010000'), "name"=>{"en"=>"North Thoratown1"}, "geom"=>[-36.0, -18.0], "nation_id"=>"ZQ", "slug"=>"north-thoratown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kuwait"}, "abbr"=>"KP", "_id"=>"KP", "slug"=>"kuwait"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4466ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2516d696d5aac010000')} update={"$set"=>{"nation_id"=>"KP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3801ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5079ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ME"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ME"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"ME", "_id"=>"ME", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"leliamouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Leliamouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"leliamouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Leliamouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5041ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac020000'), "name"=>{"en"=>"Leliamouth2"}, "geom"=>[-33.0, 8.0], "nation_id"=>"ME", "slug"=>"leliamouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WN", "_id"=>"WN", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6708ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2516d696d5aac020000')} update={"$set"=>{"nation_id"=>"WN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7042ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.4404ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4502ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3283ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4350ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"slovenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-myrtle3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Myrtle3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-myrtle3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Myrtle3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3894ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac030000'), "name"=>{"en"=>"West Myrtle3"}, "geom"=>[-48.0, -25.0], "nation_id"=>"SQ", "slug"=>"west-myrtle3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-48.0, -25.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6818ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1586ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4235ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brazil"}, "abbr"=>"BI", "_id"=>"BI", "slug"=>"brazil"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4590ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Falkland Islands (Malvinas)"}, "_id"=>"BR", "slug"=>"falkland-islands-(malvinas)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4164ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Cayman Islands"}, "_id"=>"BR", "slug"=>"cayman-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5503ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4394ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Isle of Man"}, "abbr"=>"ID", "_id"=>"ID", "slug"=>"isle-of-man"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-rhodastad4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Rhodastad4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-rhodastad4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Rhodastad4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac040000'), "name"=>{"en"=>"New Rhodastad4"}, "geom"=>[-29.0, 9.0], "nation_id"=>"ID", "slug"=>"new-rhodastad4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6717ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac050000'), "name"=>{"en"=>"West Siennachester0"}, "city_id"=>BSON::ObjectId('5471d2516d696d5aac040000'), "slug"=>"west-siennachester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4265ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5416ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5290ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Falkland Islands (Malvinas)"}, "abbr"=>"FD", "_id"=>"FD", "slug"=>"falkland-islands-(malvinas)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FD", "$or"=>[{"name.en"=>"Port Raoul"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FD", "$or"=>[{"name.en"=>"Port Raoul"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4056ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2516d696d5aac060000'), "name"=>{"en"=>"Port Raoul"}, "abbr"=>"POR", "nation_id"=>"FD", "slug"=>"port-raoul"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7332ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7830ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MG", "_id"=>"MG", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-faustinoshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Faustinoshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-faustinoshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Faustinoshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace000000'), "name"=>{"en"=>"North Faustinoshire0"}, "geom"=>[-44.0, -30.0], "nation_id"=>"MG", "slug"=>"north-faustinoshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace010000'), "name"=>{"en"=>"Kemmerburgh1"}, "city_id"=>BSON::ObjectId('5471d25b6d696d5ace000000'), "slug"=>"kemmerburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6587ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8390ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4063ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1536ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HF", "_id"=>"HF", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HF", "$or"=>[{"name.en"=>"North Brandyn"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HF", "$or"=>[{"name.en"=>"North Brandyn"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace020000'), "name"=>{"en"=>"North Brandyn"}, "abbr"=>"NOR", "nation_id"=>"HF", "slug"=>"north-brandyn"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2813ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Barthelemy"}, "abbr"=>"SJ", "_id"=>"SJ", "slug"=>"saint-barthelemy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-novella1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Novella1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-novella1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Novella1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace030000'), "name"=>{"en"=>"Port Novella1"}, "geom"=>[-29.0, -3.0], "nation_id"=>"SJ", "slug"=>"port-novella1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4229ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5547ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5198ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8746ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1806ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Polynesia"}, "abbr"=>"FT", "_id"=>"FT", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerroldburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jerroldburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerroldburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jerroldburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace040000'), "name"=>{"en"=>"Jerroldburgh2"}, "geom"=>[-24.0, -17.0], "nation_id"=>"FT", "slug"=>"jerroldburgh2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -17.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2216ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5038ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belarus"}, "abbr"=>"BR", "_id"=>"BR", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"adrainshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Adrainshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"adrainshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Adrainshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace050000'), "name"=>{"en"=>"Adrainshire3"}, "geom"=>[-46.0, -29.0], "nation_id"=>"BR", "slug"=>"adrainshire3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"MF", "_id"=>"MF", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d25b6d696d5ace050000')} update={"$set"=>{"nation_id"=>"MF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2361ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bosnia and Herzegovina"}, "abbr"=>"BQ", "_id"=>"BQ", "slug"=>"bosnia-and-herzegovina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"citlallihaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Citlallihaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"citlallihaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Citlallihaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d25b6d696d5ace060000'), "name"=>{"en"=>"Citlallihaven4"}, "geom"=>[-43.0, 7.0], "nation_id"=>"BQ", "slug"=>"citlallihaven4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UT", "_id"=>"UT", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d25b6d696d5ace060000')} update={"$set"=>{"nation_id"=>"UT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3196ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nicaragua"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nicaragua"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Nicaragua"}, "_id"=>"BR", "slug"=>"nicaragua"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2304ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Finland"}, "abbr"=>"FM", "_id"=>"FM", "slug"=>"finland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Luxembourg"}, "_id"=>"BR", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2682ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3170ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Swaziland"}, "abbr"=>"SE", "_id"=>"SE", "slug"=>"swaziland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-pasquale0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Pasquale0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-pasquale0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Pasquale0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f000000'), "name"=>{"en"=>"Port Pasquale0"}, "geom"=>[-23.0, -11.0], "nation_id"=>"SE", "slug"=>"port-pasquale0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5012ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8443ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hammesbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hammesbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hammesbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hammesbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f010000'), "name"=>{"en"=>"Hammesbury1"}, "geom"=>[-41.0, 3.0], "nation_id"=>"SM", "slug"=>"hammesbury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MB", "_id"=>"MB", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5815ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2716d696d5b0f010000')} update={"$set"=>{"nation_id"=>"MB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4587ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6343ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ME"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ME"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montenegro"}, "abbr"=>"ME", "_id"=>"ME", "slug"=>"montenegro"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-lourdeschester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Lourdeschester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-lourdeschester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Lourdeschester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f020000'), "name"=>{"en"=>"West Lourdeschester2"}, "geom"=>[-49.0, -16.0], "nation_id"=>"ME", "slug"=>"west-lourdeschester2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominica"}, "abbr"=>"DP", "_id"=>"DP", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2716d696d5b0f020000')} update={"$set"=>{"nation_id"=>"DP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4042ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 2.7487ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6609ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2278ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Qatar"}, "abbr"=>"QG", "_id"=>"QG", "slug"=>"qatar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hammestown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hammestown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hammestown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hammestown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f030000'), "name"=>{"en"=>"Hammestown3"}, "geom"=>[-30.0, 0.0], "nation_id"=>"QG", "slug"=>"hammestown3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-30.0, 0.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4317ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8381ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"British Indian Ocean Territory (Chagos Archipelago)"}, "abbr"=>"BW", "_id"=>"BW", "slug"=>"british-indian-ocean-territory-(chagos-archipelago)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BW", "$or"=>[{"name.en"=>"Lake Juston"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BW", "$or"=>[{"name.en"=>"Lake Juston"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5335ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f040000'), "name"=>{"en"=>"Lake Juston"}, "abbr"=>"LAK", "nation_id"=>"BW", "slug"=>"lake-juston"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4395ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3325ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Djibouti"}, "_id"=>"BR", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5050ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Australia"}, "abbr"=>"AB", "_id"=>"AB", "slug"=>"australia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Papua New Guinea"}, "_id"=>"BR", "slug"=>"papua-new-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3802ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jace4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jace4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jace4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jace4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f050000'), "name"=>{"en"=>"Port Jace4"}, "geom"=>[-33.0, -22.0], "nation_id"=>"SQ", "slug"=>"port-jace4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6552ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2716d696d5b0f060000'), "name"=>{"en"=>"Greenfelderport0"}, "city_id"=>BSON::ObjectId('5471d2716d696d5b0f050000'), "slug"=>"greenfelderport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5745ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7235ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7165ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.6661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3715ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BA", "_id"=>"BA", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-larry0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Larry0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-larry0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Larry0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31000000'), "name"=>{"en"=>"West Larry0"}, "geom"=>[-21.0, -8.0], "nation_id"=>"BA", "slug"=>"west-larry0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5167ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bermuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bermuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bermuda"}, "abbr"=>"BQ", "_id"=>"BQ", "slug"=>"bermuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruickshankton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruickshankton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruickshankton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruickshankton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31010000'), "name"=>{"en"=>"Cruickshankton1"}, "geom"=>[-47.0, 2.0], "nation_id"=>"BQ", "slug"=>"cruickshankton1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chad"}, "abbr"=>"CR", "_id"=>"CR", "slug"=>"chad"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2786d696d5b31010000')} update={"$set"=>{"nation_id"=>"CR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2944ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3662ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Benin"}, "abbr"=>"BT", "_id"=>"BT", "slug"=>"benin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-seanfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Seanfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-seanfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Seanfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31020000'), "name"=>{"en"=>"North Seanfort2"}, "geom"=>[-36.0, 0.0], "nation_id"=>"BT", "slug"=>"north-seanfort2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4513ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mayotte"}, "abbr"=>"MQ", "_id"=>"MQ", "slug"=>"mayotte"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6119ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2786d696d5b31020000')} update={"$set"=>{"nation_id"=>"MQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3607ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5177ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7856ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sierra-leone"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sierra-leone"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sierra Leone"}, "abbr"=>"SW", "_id"=>"SW", "slug"=>"sierra-leone"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-adolphus3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Adolphus3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-adolphus3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Adolphus3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31030000'), "name"=>{"en"=>"New Adolphus3"}, "geom"=>[-24.0, -30.0], "nation_id"=>"SW", "slug"=>"new-adolphus3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -30.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7498ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Venezuela"}, "abbr"=>"VC", "_id"=>"VC", "slug"=>"venezuela"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3254ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Pakistan"}, "_id"=>"BR", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kiribati"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4259ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Belgium"}, "_id"=>"BR", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4722ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"czech-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3003ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"czech-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Czech Republic"}, "abbr"=>"CJ", "_id"=>"CJ", "slug"=>"czech-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CJ", "$or"=>[{"name.en"=>"New Jamirfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CJ", "$or"=>[{"name.en"=>"New Jamirfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31040000'), "name"=>{"en"=>"New Jamirfurt"}, "abbr"=>"NEW", "nation_id"=>"CJ", "slug"=>"new-jamirfurt"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4895ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2457ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Caledonia"}, "abbr"=>"NR", "_id"=>"NR", "slug"=>"new-caledonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"joton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Joton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"joton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Joton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31050000'), "name"=>{"en"=>"Joton4"}, "geom"=>[-21.0, -3.0], "nation_id"=>"NR", "slug"=>"joton4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2786d696d5b31060000'), "name"=>{"en"=>"Aricshire0"}, "city_id"=>BSON::ObjectId('5471d2786d696d5b31050000'), "slug"=>"aricshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3609ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4847ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4612ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jamaica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jamaica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4012ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jamaica"}, "abbr"=>"JF", "_id"=>"JF", "slug"=>"jamaica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mannshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Mannshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mannshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Mannshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53000000'), "name"=>{"en"=>"Mannshire0"}, "geom"=>[-35.0, 5.0], "nation_id"=>"JF", "slug"=>"mannshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5485ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-assunta1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Assunta1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-assunta1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Assunta1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53010000'), "name"=>{"en"=>"East Assunta1"}, "geom"=>[-48.0, 8.0], "nation_id"=>"BU", "slug"=>"east-assunta1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2470ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tonga"}, "abbr"=>"TC", "_id"=>"TC", "slug"=>"tonga"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3900ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2996d696d5b53010000')} update={"$set"=>{"nation_id"=>"TC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4804ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CB", "_id"=>"CB", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stokesfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stokesfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stokesfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stokesfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53020000'), "name"=>{"en"=>"Stokesfurt2"}, "geom"=>[-33.0, -24.0], "nation_id"=>"CB", "slug"=>"stokesfurt2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CD", "_id"=>"CD", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2996d696d5b53020000')} update={"$set"=>{"nation_id"=>"CD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4594ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4660ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7982ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Canada"}, "abbr"=>"CS", "_id"=>"CS", "slug"=>"canada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-alexandermouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Alexandermouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-alexandermouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Alexandermouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53030000'), "name"=>{"en"=>"Lake Alexandermouth3"}, "geom"=>[-37.0, -1.0], "nation_id"=>"CS", "slug"=>"lake-alexandermouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-37.0, -1.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3332ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7386ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Switzerland"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilsonchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilsonchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilsonchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilsonchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53040000'), "name"=>{"en"=>"East Wilsonchester4"}, "geom"=>[-38.0, -11.0], "nation_id"=>"SO", "slug"=>"east-wilsonchester4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5454ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53050000'), "name"=>{"en"=>"Nicolettechester0"}, "city_id"=>BSON::ObjectId('5471d2996d696d5b53040000'), "slug"=>"nicolettechester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4048ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4143ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"San Marino"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"san-marino"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"French Polynesia"}, "_id"=>"BR", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3430ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Congo"}, "_id"=>"BR", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3179ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DF", "_id"=>"DF", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"DF", "$or"=>[{"name.en"=>"Port Alexanneborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"DF", "$or"=>[{"name.en"=>"Port Alexanneborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2996d696d5b53060000'), "name"=>{"en"=>"Port Alexanneborough"}, "abbr"=>"POR", "nation_id"=>"DF", "slug"=>"port-alexanneborough"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4454ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5515ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HA", "_id"=>"HA", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-juliechester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Juliechester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-juliechester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Juliechester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76000000'), "name"=>{"en"=>"East Juliechester0"}, "geom"=>[-24.0, -19.0], "nation_id"=>"HA", "slug"=>"east-juliechester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3977ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0733ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Singapore"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"singapore"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schimmelborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schimmelborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schimmelborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schimmelborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76010000'), "name"=>{"en"=>"Schimmelborough1"}, "geom"=>[-41.0, -7.0], "nation_id"=>"SG", "slug"=>"schimmelborough1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guinea"}, "abbr"=>"GS", "_id"=>"GS", "slug"=>"guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2ac6d696d5b76010000')} update={"$set"=>{"nation_id"=>"GS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4382ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SD", "_id"=>"SD", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rosalia2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rosalia2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rosalia2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rosalia2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76020000'), "name"=>{"en"=>"North Rosalia2"}, "geom"=>[-26.0, -29.0], "nation_id"=>"SD", "slug"=>"north-rosalia2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BG", "_id"=>"BG", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2ac6d696d5b76020000')} update={"$set"=>{"nation_id"=>"BG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3434ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3090ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3006ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5796ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kyrgyz Republic"}, "abbr"=>"KI", "_id"=>"KI", "slug"=>"kyrgyz-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"eliaston3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Eliaston3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"eliaston3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Eliaston3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76030000'), "name"=>{"en"=>"Eliaston3"}, "geom"=>[-33.0, 0.0], "nation_id"=>"KI", "slug"=>"eliaston3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-33.0, 0.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2470ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5454ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-branson4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Branson4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-branson4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Branson4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76040000'), "name"=>{"en"=>"East Branson4"}, "geom"=>[-24.0, -17.0], "nation_id"=>"SG", "slug"=>"east-branson4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3954ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76050000'), "name"=>{"en"=>"Lake Adelbert0"}, "city_id"=>BSON::ObjectId('5471d2ac6d696d5b76040000'), "slug"=>"lake-adelbert0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2787ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2783ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.9402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1348ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Palestinian Territory"}, "abbr"=>"PM", "_id"=>"PM", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.0270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1906ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"France"}, "_id"=>"BR", "slug"=>"france"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1345ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "_id"=>"BR", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guinea-Bissau"}, "abbr"=>"GC", "_id"=>"GC", "slug"=>"guinea-bissau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GC", "$or"=>[{"name.en"=>"Lake Zionhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GC", "$or"=>[{"name.en"=>"Lake Zionhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2ac6d696d5b76060000'), "name"=>{"en"=>"Lake Zionhaven"}, "abbr"=>"LAK", "nation_id"=>"GC", "slug"=>"lake-zionhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3803ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3927ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tunisia"}, "abbr"=>"TG", "_id"=>"TG", "slug"=>"tunisia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"michealland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Michealland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"michealland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Michealland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2c76d696d5b99000000'), "name"=>{"en"=>"Michealland0"}, "geom"=>[-31.0, 8.0], "nation_id"=>"TG", "slug"=>"michealland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6129ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Argentina"}, "abbr"=>"AD", "_id"=>"AD", "slug"=>"argentina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johnsview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Johnsview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johnsview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Johnsview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99010000'), "name"=>{"en"=>"Johnsview1"}, "geom"=>[-24.0, -29.0], "nation_id"=>"AD", "slug"=>"johnsview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mauritania"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"mauritania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2c86d696d5b99010000')} update={"$set"=>{"nation_id"=>"MM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 2.2473ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GK", "_id"=>"GK", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"denesikhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Denesikhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"denesikhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Denesikhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99020000'), "name"=>{"en"=>"Denesikhaven2"}, "geom"=>[-45.0, -15.0], "nation_id"=>"GK", "slug"=>"denesikhaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Paraguay"}, "abbr"=>"PL", "_id"=>"PL", "slug"=>"paraguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5471d2c86d696d5b99020000')} update={"$set"=>{"nation_id"=>"PL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3864ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6315ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominican Republic"}, "abbr"=>"DF", "_id"=>"DF", "slug"=>"dominican-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-gerardostad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Gerardostad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-gerardostad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Gerardostad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99030000'), "name"=>{"en"=>"North Gerardostad3"}, "geom"=>[-48.0, -20.0], "nation_id"=>"DF", "slug"=>"north-gerardostad3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-48.0, -20.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6110ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Wallis and Futuna"}, "_id"=>"BR", "slug"=>"wallis-and-futuna"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4262ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4233ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Samoa"}, "_id"=>"BR", "slug"=>"samoa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4716ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4402ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cuba"}, "abbr"=>"CC", "_id"=>"CC", "slug"=>"cuba"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"West Eli"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"West Eli"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4317ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99040000'), "name"=>{"en"=>"West Eli"}, "abbr"=>"WES", "nation_id"=>"CC", "slug"=>"west-eli"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5910ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7456ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4254ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3934ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vanuatu"}, "abbr"=>"VE", "_id"=>"VE", "slug"=>"vanuatu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marquisemouth4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Marquisemouth4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marquisemouth4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Marquisemouth4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99050000'), "name"=>{"en"=>"Marquisemouth4"}, "geom"=>[-30.0, 0.0], "nation_id"=>"VE", "slug"=>"marquisemouth4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8217ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5471d2c86d696d5b99060000'), "name"=>{"en"=>"New Jayburgh0"}, "city_id"=>BSON::ObjectId('5471d2c86d696d5b99050000'), "slug"=>"new-jayburgh0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5277ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6850ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6824ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.7560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 4.1396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Syrian Arab Republic"}, "abbr"=>"SS", "_id"=>"SS", "slug"=>"syrian-arab-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 6.4119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SS", "$or"=>[{"name.en"=>"West Willis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 3.6638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SS", "$or"=>[{"name.en"=>"West Willis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3678ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060000000'), "name"=>{"en"=>"West Willis"}, "abbr"=>"WES", "nation_id"=>"SS", "slug"=>"west-willis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 4.4625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5622ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 7.2981ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 5.1051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3741ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MV", "_id"=>"MV", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bernierfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.8258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Bernierfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bernierfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Bernierfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3908ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060010000'), "name"=>{"en"=>"Bernierfurt0"}, "geom"=>[-44.0, -7.0], "nation_id"=>"MV", "slug"=>"bernierfurt0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4702ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5417ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 4.3833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3569ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Solomon Islands"}, "abbr"=>"ST", "_id"=>"ST", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kuhnton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kuhnton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kuhnton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kuhnton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060020000'), "name"=>{"en"=>"Kuhnton1"}, "geom"=>[-39.0, 4.0], "nation_id"=>"ST", "slug"=>"kuhnton1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kazakhstan"}, "abbr"=>"KK", "_id"=>"KK", "slug"=>"kazakhstan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836d646d696d7060020000')} update={"$set"=>{"nation_id"=>"KK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3170ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4052ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brazil"}, "abbr"=>"BK", "_id"=>"BK", "slug"=>"brazil"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jarrellburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Jarrellburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jarrellburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Jarrellburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060030000'), "name"=>{"en"=>"East Jarrellburgh2"}, "geom"=>[-47.0, -8.0], "nation_id"=>"BK", "slug"=>"east-jarrellburgh2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liberia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liberia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Liberia"}, "abbr"=>"LC", "_id"=>"LC", "slug"=>"liberia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836d646d696d7060030000')} update={"$set"=>{"nation_id"=>"LC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2102ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2890ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2817ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.3596ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.7867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BM", "_id"=>"BM", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-hulda3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Hulda3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-hulda3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Hulda3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060040000'), "name"=>{"en"=>"Lake Hulda3"}, "geom"=>[-29.0, 3.0], "nation_id"=>"BM", "slug"=>"lake-hulda3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, 3.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.3566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2657ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 6.0280ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HB", "_id"=>"HB", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"egypt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"egypt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Egypt"}, "_id"=>"BR", "slug"=>"egypt"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guatemala"}, "_id"=>"BR", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2239ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Philippines"}, "abbr"=>"PO", "_id"=>"PO", "slug"=>"philippines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-abigail4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Abigail4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-abigail4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Abigail4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1736ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060050000'), "name"=>{"en"=>"South Abigail4"}, "geom"=>[-25.0, -16.0], "nation_id"=>"PO", "slug"=>"south-abigail4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54836d646d696d7060060000'), "name"=>{"en"=>"Jerrellchester0"}, "city_id"=>BSON::ObjectId('54836d646d696d7060050000'), "slug"=>"jerrellchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.3578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2692ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7736ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 5.1836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4463ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Burundi"}, "abbr"=>"BB", "_id"=>"BB", "slug"=>"burundi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"beattyfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Beattyfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"beattyfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Beattyfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088000000'), "name"=>{"en"=>"Beattyfort0"}, "geom"=>[-34.0, -25.0], "nation_id"=>"BB", "slug"=>"beattyfort0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5213ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088010000'), "name"=>{"en"=>"Tremblaymouth1"}, "city_id"=>BSON::ObjectId('54836d726d696d7088000000'), "slug"=>"tremblaymouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3255ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0086ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0854ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.9679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bolivia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bolivia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bolivia"}, "abbr"=>"BR", "_id"=>"BR", "slug"=>"bolivia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Mozellechester"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Mozellechester"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088020000'), "name"=>{"en"=>"North Mozellechester"}, "abbr"=>"NOR", "nation_id"=>"BR", "slug"=>"north-mozellechester"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3492ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sudan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sudan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sudan"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"sudan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"robertaburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Robertaburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"robertaburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Robertaburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088030000'), "name"=>{"en"=>"Robertaburgh1"}, "geom"=>[-50.0, -6.0], "nation_id"=>"SA", "slug"=>"robertaburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3214ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-ludwigborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Ludwigborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-ludwigborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Ludwigborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088040000'), "name"=>{"en"=>"North Ludwigborough2"}, "geom"=>[-34.0, -5.0], "nation_id"=>"SQ", "slug"=>"north-ludwigborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montenegro"}, "abbr"=>"MD", "_id"=>"MD", "slug"=>"montenegro"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836d726d696d7088040000')} update={"$set"=>{"nation_id"=>"MD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2064ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2686ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"georgia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"georgia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Georgia"}, "abbr"=>"GI", "_id"=>"GI", "slug"=>"georgia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bradlyborough3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Bradlyborough3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bradlyborough3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Bradlyborough3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088050000'), "name"=>{"en"=>"Bradlyborough3"}, "geom"=>[-38.0, -7.0], "nation_id"=>"GI", "slug"=>"bradlyborough3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mayotte"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"mayotte"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836d726d696d7088050000')} update={"$set"=>{"nation_id"=>"MJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2170ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2835ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4928ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cuba"}, "abbr"=>"CF", "_id"=>"CF", "slug"=>"cuba"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jarenton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jarenton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jarenton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jarenton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836d726d696d7088060000'), "name"=>{"en"=>"Port Jarenton4"}, "geom"=>[-36.0, -23.0], "nation_id"=>"CF", "slug"=>"port-jarenton4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, -23.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4655ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Suriname"}, "_id"=>"BR", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1396ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lebanon"}, "_id"=>"BR", "slug"=>"lebanon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liberia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1833ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"marshall-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"marshall-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1189ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Marshall Islands"}, "abbr"=>"MH", "_id"=>"MH", "slug"=>"marshall-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2306ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Poland"}, "abbr"=>"PT", "_id"=>"PT", "slug"=>"poland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"PT", "$or"=>[{"name.en"=>"South Will"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"PT", "$or"=>[{"name.en"=>"South Will"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc000000'), "name"=>{"en"=>"South Will"}, "abbr"=>"SOU", "nation_id"=>"PT", "slug"=>"south-will"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4215ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 2.4355ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MF", "_id"=>"MF", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tiafort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Tiafort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tiafort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Tiafort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc010000'), "name"=>{"en"=>"Tiafort0"}, "geom"=>[-49.0, -20.0], "nation_id"=>"MF", "slug"=>"tiafort0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5176ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc020000'), "name"=>{"en"=>"Kirstinfort1"}, "city_id"=>BSON::ObjectId('54836e256d696d70cc010000'), "slug"=>"kirstinfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4431ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4937ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cote d'Ivoire"}, "abbr"=>"CN", "_id"=>"CN", "slug"=>"cote-d'ivoire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gerlachview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Gerlachview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gerlachview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Gerlachview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1908ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc040000'), "name"=>{"en"=>"Gerlachview1"}, "geom"=>[-44.0, -4.0], "nation_id"=>"CN", "slug"=>"gerlachview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2659ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3397ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3170ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5688ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Polynesia"}, "abbr"=>"FU", "_id"=>"FU", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerodmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jerodmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerodmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jerodmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc050000'), "name"=>{"en"=>"Jerodmouth2"}, "geom"=>[-42.0, -7.0], "nation_id"=>"FU", "slug"=>"jerodmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-42.0, -7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2728ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5083ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"slovenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-jaime3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Jaime3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-jaime3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Jaime3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc060000'), "name"=>{"en"=>"North Jaime3"}, "geom"=>[-41.0, -3.0], "nation_id"=>"SI", "slug"=>"north-jaime3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1458ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Paraguay"}, "abbr"=>"PF", "_id"=>"PF", "slug"=>"paraguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836e256d696d70cc060000')} update={"$set"=>{"nation_id"=>"PF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2592ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1387ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"reynoldstown4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Reynoldstown4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"reynoldstown4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Reynoldstown4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e256d696d70cc070000'), "name"=>{"en"=>"Reynoldstown4"}, "geom"=>[-28.0, -5.0], "nation_id"=>"SA", "slug"=>"reynoldstown4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BB", "_id"=>"BB", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836e256d696d70cc070000')} update={"$set"=>{"nation_id"=>"BB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2786ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Dominica"}, "_id"=>"BR", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Taiwan"}, "_id"=>"BR", "slug"=>"taiwan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bangladesh"}, "abbr"=>"BQ", "_id"=>"BQ", "slug"=>"bangladesh"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1945ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2701ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"South Africa"}, "_id"=>"BR", "slug"=>"south-africa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"american-samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Cambodia"}, "_id"=>"BR", "slug"=>"cambodia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1692ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malaysia"}, "abbr"=>"MK", "_id"=>"MK", "slug"=>"malaysia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2627ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HU", "_id"=>"HU", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"claramouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Claramouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"claramouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Claramouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399000000'), "name"=>{"en"=>"Claramouth0"}, "geom"=>[-38.0, -21.0], "nation_id"=>"HU", "slug"=>"claramouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399010000'), "name"=>{"en"=>"Carmellafort1"}, "city_id"=>BSON::ObjectId('54836e586d696d7399000000'), "slug"=>"carmellafort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2404ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2959ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Martin"}, "abbr"=>"SH", "_id"=>"SH", "slug"=>"saint-martin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SH", "$or"=>[{"name.en"=>"Bartellton"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SH", "$or"=>[{"name.en"=>"Bartellton"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399020000'), "name"=>{"en"=>"Bartellton"}, "abbr"=>"BAR", "nation_id"=>"SH", "slug"=>"bartellton"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2079ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3000ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2060ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1380ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-tillmanfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Tillmanfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-tillmanfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Tillmanfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399040000'), "name"=>{"en"=>"South Tillmanfort1"}, "geom"=>[-49.0, -15.0], "nation_id"=>"MJ", "slug"=>"south-tillmanfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2552ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-kitts-and-nevis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-kitts-and-nevis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Kitts and Nevis"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"saint-kitts-and-nevis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cassinstad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cassinstad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cassinstad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cassinstad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399050000'), "name"=>{"en"=>"Cassinstad2"}, "geom"=>[-47.0, -19.0], "nation_id"=>"SQ", "slug"=>"cassinstad2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-47.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2181ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4559ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Guiana"}, "abbr"=>"FD", "_id"=>"FD", "slug"=>"french-guiana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-brown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Brown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-brown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Brown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399060000'), "name"=>{"en"=>"South Brown3"}, "geom"=>[-40.0, -15.0], "nation_id"=>"FD", "slug"=>"south-brown3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UL", "_id"=>"UL", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836e586d696d7399060000')} update={"$set"=>{"nation_id"=>"UL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2040ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1415ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahamas"}, "abbr"=>"BW", "_id"=>"BW", "slug"=>"bahamas"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nikolaushaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Nikolaushaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nikolaushaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Nikolaushaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836e586d696d7399070000'), "name"=>{"en"=>"Nikolaushaven4"}, "geom"=>[-36.0, 2.0], "nation_id"=>"BW", "slug"=>"nikolaushaven4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kyrgyz Republic"}, "abbr"=>"KW", "_id"=>"KW", "slug"=>"kyrgyz-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836e586d696d7399070000')} update={"$set"=>{"nation_id"=>"KW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2612ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2462ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4661ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guyana"}, "_id"=>"BR", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Ghana"}, "_id"=>"BR", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4561ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Africa"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"south-africa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"Metzhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"Metzhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17000000'), "name"=>{"en"=>"Metzhaven"}, "abbr"=>"MET", "nation_id"=>"SB", "slug"=>"metzhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7442ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.8398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TK", "_id"=>"TK", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hansland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hansland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hansland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hansland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4189ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17010000'), "name"=>{"en"=>"Hansland0"}, "geom"=>[-36.0, -21.0], "nation_id"=>"TK", "slug"=>"hansland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5333ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6984ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4591ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5975ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bosnia and Herzegovina"}, "abbr"=>"BA", "_id"=>"BA", "slug"=>"bosnia-and-herzegovina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-kadebury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Kadebury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-kadebury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Kadebury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17030000'), "name"=>{"en"=>"South Kadebury1"}, "geom"=>[-38.0, 5.0], "nation_id"=>"BA", "slug"=>"south-kadebury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3152ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Venezuela"}, "abbr"=>"VU", "_id"=>"VU", "slug"=>"venezuela"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4511ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836ea26d696d7b17030000')} update={"$set"=>{"nation_id"=>"VU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4322ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5437ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PM", "_id"=>"PM", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-celestino2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Celestino2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-celestino2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Celestino2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17040000'), "name"=>{"en"=>"Lake Celestino2"}, "geom"=>[-28.0, -12.0], "nation_id"=>"PM", "slug"=>"lake-celestino2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2799ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4777ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54836ea26d696d7b17040000')} update={"$set"=>{"nation_id"=>"SB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5174ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5128ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8596ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IF", "_id"=>"IF", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-juana3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Juana3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-juana3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Juana3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3208ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17050000'), "name"=>{"en"=>"Port Juana3"}, "geom"=>[-36.0, -10.0], "nation_id"=>"IF", "slug"=>"port-juana3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, -10.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4343ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9577ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3864ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DJ", "_id"=>"DJ", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"coltenbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Coltenbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"coltenbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Coltenbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3690ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17060000'), "name"=>{"en"=>"Coltenbury4"}, "geom"=>[-44.0, -3.0], "nation_id"=>"DJ", "slug"=>"coltenbury4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8294ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54836ea26d696d7b17070000'), "name"=>{"en"=>"Billieport0"}, "city_id"=>BSON::ObjectId('54836ea26d696d7b17060000'), "slug"=>"billieport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5029ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5987ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6019ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.6590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3808ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 10.8918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 4.3688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GP", "_id"=>"GP", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 571.9149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-gudrunton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GP", "$or"=>[{"name.en"=>"North Gudrunton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.5226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-gudrunton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GP", "$or"=>[{"name.en"=>"North Gudrunton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4475ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20000000'), "name"=>{"en"=>"North Gudrunton0"}, "geom"=>[-49.0, -22.0], "nation_id"=>"GP", "slug"=>"north-gudrunton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 52.6490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 3.0986ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.5462ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4012ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guam"}, "abbr"=>"GU", "_id"=>"GU", "slug"=>"guam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"soniachester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GU", "$or"=>[{"name.en"=>"Soniachester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"soniachester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GU", "$or"=>[{"name.en"=>"Soniachester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20020000'), "name"=>{"en"=>"Soniachester1"}, "geom"=>[-40.0, 0.0], "nation_id"=>"GU", "slug"=>"soniachester1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.9928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5921ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Switzerland"}, "abbr"=>"SR", "_id"=>"SR", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SR", "$or"=>[{"name.en"=>"Soniachester1"}], :_id=>{"$ne"=>BSON::ObjectId('5491e1326d696d1d20020000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0757ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5491e1326d696d1d20020000')} update={"$set"=>{"nation_id"=>"SR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6652ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominican Republic"}, "abbr"=>"DI", "_id"=>"DI", "slug"=>"dominican-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ruthmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DI", "$or"=>[{"name.en"=>"Ruthmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ruthmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DI", "$or"=>[{"name.en"=>"Ruthmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20030000'), "name"=>{"en"=>"Ruthmouth2"}, "geom"=>[-38.0, -29.0], "nation_id"=>"DI", "slug"=>"ruthmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3717ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Martinique"}, "abbr"=>"MH", "_id"=>"MH", "slug"=>"martinique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MH", "$or"=>[{"name.en"=>"Ruthmouth2"}], :_id=>{"$ne"=>BSON::ObjectId('5491e1326d696d1d20030000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5420ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5491e1326d696d1d20030000')} update={"$set"=>{"nation_id"=>"MH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4526ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6636ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4081ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4101ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vietnam"}, "abbr"=>"VU", "_id"=>"VU", "slug"=>"vietnam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-darryl3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VU", "$or"=>[{"name.en"=>"Lake Darryl3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-darryl3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VU", "$or"=>[{"name.en"=>"Lake Darryl3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4173ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20040000'), "name"=>{"en"=>"Lake Darryl3"}, "geom"=>[-42.0, 3.0], "nation_id"=>"VU", "slug"=>"lake-darryl3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-42.0, 3.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.4981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 22.9661ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ER"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ER"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"ER", "_id"=>"ER", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ER", "$or"=>[{"name.en"=>"Hermannview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ER", "$or"=>[{"name.en"=>"Hermannview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5448ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20050000'), "name"=>{"en"=>"Hermannview"}, "abbr"=>"HER", "nation_id"=>"ER", "slug"=>"hermannview"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6279ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7413ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4231ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NN", "_id"=>"NN", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6175ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Pakistan"}, "_id"=>"BR", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.4285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"United Kingdom"}, "_id"=>"BR", "slug"=>"united-kingdom"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3616ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sri Lanka"}, "abbr"=>"SK", "_id"=>"SK", "slug"=>"sri-lanka"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"howehaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"Howehaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"howehaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"Howehaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20060000'), "name"=>{"en"=>"Howehaven4"}, "geom"=>[-28.0, -6.0], "nation_id"=>"SK", "slug"=>"howehaven4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7173ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5491e1326d696d1d20070000'), "name"=>{"en"=>"North Wilburn0"}, "city_id"=>BSON::ObjectId('5491e1326d696d1d20060000'), "slug"=>"north-wilburn0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4519ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5372ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6038ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.6105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3409ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 24.1900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 19.0725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 23.5343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a7076d696d4462000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.4443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 10.4828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 19.1185ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.2055ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 21.6344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6710ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 58.8511ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2032ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a75e6d696d44b6000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>nil}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1425ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Kuwait"}, "slug"=>"Kuwait", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Saudi Arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Saudi Arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4311ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 29.8355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Singapore"}, "slug"=>"Singapore", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4712ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3942ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SR", "slug"=>"Slovenia", "_id"=>"SR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4745ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6974ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Netherlands Antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Netherlands Antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Netherlands Antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Netherlands Antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NT", "slug"=>"Netherlands Antilles", "_id"=>"NT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3356ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Tanzania"}, "slug"=>"Tanzania", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Malaysia"}, "slug"=>"Malaysia", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2562ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3748ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Equatorial Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Equatorial Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Equatorial Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Equatorial Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Equatorial Guinea"}, "slug"=>"Equatorial Guinea", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Guinea-Bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Guinea-Bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lao People's Democratic Republic"}, "slug"=>"Lao People's Democratic Republic", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"El Salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"El Salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"El Salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"El Salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"El Salvador"}, "abbr"=>"EG", "slug"=>"El Salvador", "_id"=>"EG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4721ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Chile"}, "slug"=>"Chile", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8174ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5527ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HB", "slug"=>"Haiti", "_id"=>"HB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.9086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9793ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Saint Lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Saint Lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Lucia"}, "slug"=>"Saint Lucia", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5248ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4618ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Vanuatu"}, "slug"=>"Vanuatu", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Macedonia"}, "slug"=>"Macedonia", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Sierra Leone"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7171ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Hong Kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RP", "slug"=>"Romania", "_id"=>"RP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3123ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Romania"}, "slug"=>"Romania", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2520ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Haiti"}, "slug"=>"Haiti", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1321ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Colombia"}, "abbr"=>"CF", "slug"=>"Colombia", "_id"=>"CF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1499ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Patópolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Patópolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2614ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a7fc6d696d4553000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"Patópolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Papua New Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Papua New Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Papua New Guinea"}, "abbr"=>"PR", "slug"=>"Papua New Guinea", "_id"=>"PR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3976ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3380ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a7fc6d696d4553020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3678ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Seychelles"}, "abbr"=>"SV", "slug"=>"Seychelles", "_id"=>"SV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4294ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Cape Verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Cape Verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cape Verde"}, "abbr"=>"CU", "slug"=>"Cape Verde", "_id"=>"CU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6215ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6727ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0641ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7713ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MP", "slug"=>"Mali", "_id"=>"MP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5096ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1833ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6092ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Namibia"}, "abbr"=>"NS", "slug"=>"Namibia", "_id"=>"NS"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4211ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Congo"}, "slug"=>"Congo", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3950ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovakia (Slovak Republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovakia (Slovak Republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Slovakia (Slovak Republic)"}, "slug"=>"Slovakia (Slovak Republic)", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 13.8965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2791ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Zimbabwe"}, "abbr"=>"ZO", "slug"=>"Zimbabwe", "_id"=>"ZO"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Hong Kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Hong Kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Hong Kong"}, "slug"=>"Hong Kong", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1757ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1152ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Azerbaijan"}, "slug"=>"Azerbaijan", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1662ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1365ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Algeria"}, "abbr"=>"AW", "slug"=>"Algeria", "_id"=>"AW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5844ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.2706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Patópolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Patópolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2984ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8366d696d4596010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"Patópolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7248ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4892ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8366d696d4596020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6786ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5253ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sweden"}, "abbr"=>"SJ", "slug"=>"Sweden", "_id"=>"SJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5932ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Oman"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"OW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Oman"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"OW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Oman"}, "abbr"=>"OW", "slug"=>"Oman", "_id"=>"OW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5300ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0662ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6978ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montenegro"}, "abbr"=>"MS", "slug"=>"Montenegro", "_id"=>"MS"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4154ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1379ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5990ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Equatorial Guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5207ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Somalia"}, "abbr"=>"SH", "slug"=>"Somalia", "_id"=>"SH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5948ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Slovenia"}, "slug"=>"Slovenia", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"United States of America"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4637ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Malaysia"}, "slug"=>"Malaysia", "_id"=>"BR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5078ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3814ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5081ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6306ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"San Marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"San Marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3320ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"San Marino"}, "abbr"=>"SK", "slug"=>"San Marino", "_id"=>"SK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.7625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Keenanhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Keenanhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"Keenanhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Keenanhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Keenanhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"Keenanhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4461ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9010000'), "name"=>{"en"=>"Keenanhaven0"}, "geom"=>[-48.0, -17.0], "nation_id"=>"SK", "slug"=>"Keenanhaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5229ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7318ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Patópolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Patópolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4286ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"Patópolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4286ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7517ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2345ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6655ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6173ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Falkland Islands (Malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Falkland Islands (Malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Falkland Islands (Malvinas)"}, "abbr"=>"FT", "slug"=>"Falkland Islands (Malvinas)", "_id"=>"FT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Lake Joan1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.4557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Lake Joan1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FT", "$or"=>[{"name.en"=>"Lake Joan1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Lake Joan1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Lake Joan1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FT", "$or"=>[{"name.en"=>"Lake Joan1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9030000'), "name"=>{"en"=>"Lake Joan1"}, "geom"=>[-48.0, 6.0], "nation_id"=>"FT", "slug"=>"Lake Joan1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-48.0, 6.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.8236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7624ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.5630ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Holy See (Vatican City State)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Holy See (Vatican City State)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6124ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Holy See (Vatican City State)"}, "abbr"=>"HQ", "slug"=>"Holy See (Vatican City State)", "_id"=>"HQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Vonmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Vonmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HQ", "$or"=>[{"name.en"=>"Vonmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Vonmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Vonmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HQ", "$or"=>[{"name.en"=>"Vonmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9040000'), "name"=>{"en"=>"Vonmouth2"}, "geom"=>[-27.0, 9.0], "nation_id"=>"HQ", "slug"=>"Vonmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HD", "slug"=>"Honduras", "_id"=>"HD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Vonmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4532ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6774ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Sao Tome and Principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Sao Tome and Principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sao Tome and Principe"}, "abbr"=>"SA", "slug"=>"Sao Tome and Principe", "_id"=>"SA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"South Erikachester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"South Erikachester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SA", "$or"=>[{"name.en"=>"South Erikachester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3254ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"South Erikachester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"South Erikachester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SA", "$or"=>[{"name.en"=>"South Erikachester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8946d696d45d9050000'), "name"=>{"en"=>"South Erikachester3"}, "geom"=>[-38.0, 1.0], "nation_id"=>"SA", "slug"=>"South Erikachester3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Armenia"}, "abbr"=>"AD", "slug"=>"Armenia", "_id"=>"AD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"South Erikachester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 5.4240ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4616ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Patópolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3140ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Patópolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1595ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8d96d696d4609000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"Patópolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2340ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8da6d696d4609010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MD", "slug"=>"Mali", "_id"=>"MD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"West Kobeton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MD", "$or"=>[{"name.en"=>"West Kobeton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"West Kobeton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MD", "$or"=>[{"name.en"=>"West Kobeton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"West Kobeton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8da6d696d4609020000'), "name"=>{"en"=>"West Kobeton0"}, "geom"=>[-28.0, -27.0], "nation_id"=>"MD", "slug"=>"West Kobeton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5502ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4166ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1416ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6404ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Lao People's Democratic Republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3938ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lao People's Democratic Republic"}, "abbr"=>"LC", "slug"=>"Lao People's Democratic Republic", "_id"=>"LC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Jakubowskimouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LC", "$or"=>[{"name.en"=>"Jakubowskimouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Jakubowskimouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LC", "$or"=>[{"name.en"=>"Jakubowskimouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Jakubowskimouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6972ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8da6d696d4609030000'), "name"=>{"en"=>"Jakubowskimouth1"}, "geom"=>[-45.0, 2.0], "nation_id"=>"LC", "slug"=>"Jakubowskimouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, 2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2137ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Paraguay"}, "abbr"=>"PR", "slug"=>"Paraguay", "_id"=>"PR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Port Karli2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PR", "$or"=>[{"name.en"=>"Port Karli2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"Port Karli2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PR", "$or"=>[{"name.en"=>"Port Karli2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"Port Karli2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3498ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8da6d696d4609040000'), "name"=>{"en"=>"Port Karli2"}, "geom"=>[-25.0, -18.0], "nation_id"=>"PR", "slug"=>"Port Karli2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Falkland Islands (Malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Falkland Islands (Malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Falkland Islands (Malvinas)"}, "abbr"=>"FV", "slug"=>"Falkland Islands (Malvinas)", "_id"=>"FV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FV", "$or"=>[{"name.en"=>"Port Karli2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a8da6d696d4609040000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4397ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a8da6d696d4609040000')} update={"$set"=>{"nation_id"=>"FV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.0690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 15.7387ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4569ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4251ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tonga"}, "abbr"=>"TJ", "slug"=>"Tonga", "_id"=>"TJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"New Arloland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TJ", "$or"=>[{"name.en"=>"New Arloland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"New Arloland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TJ", "$or"=>[{"name.en"=>"New Arloland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"New Arloland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2965ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a8da6d696d4609050000'), "name"=>{"en"=>"New Arloland3"}, "geom"=>[-46.0, -2.0], "nation_id"=>"TJ", "slug"=>"New Arloland3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"Dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominica"}, "abbr"=>"DB", "slug"=>"Dominica", "_id"=>"DB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DB", "$or"=>[{"name.en"=>"New Arloland3"}], :_id=>{"$ne"=>BSON::ObjectId('5494a8da6d696d4609050000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4099ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a8da6d696d4609050000')} update={"$set"=>{"nation_id"=>"DB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5179ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5107ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3501ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3960ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TH", "_id"=>"TH", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.9082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-eduardo0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TH", "$or"=>[{"name.en"=>"East Eduardo0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-eduardo0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TH", "$or"=>[{"name.en"=>"East Eduardo0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-eduardo0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4551ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642010000'), "name"=>{"en"=>"East Eduardo0"}, "geom"=>[-26.0, -20.0], "nation_id"=>"TH", "slug"=>"east-eduardo0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0306ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4289ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5065ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AV", "_id"=>"AV", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-chaz1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AV", "$or"=>[{"name.en"=>"East Chaz1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-chaz1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AV", "$or"=>[{"name.en"=>"East Chaz1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-chaz1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642030000'), "name"=>{"en"=>"East Chaz1"}, "geom"=>[-31.0, -10.0], "nation_id"=>"AV", "slug"=>"east-chaz1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montserrat"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montserrat"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3061ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montserrat"}, "abbr"=>"MK", "_id"=>"MK", "slug"=>"montserrat"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MK", "$or"=>[{"name.en"=>"East Chaz1"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9766d696d4642030000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9766d696d4642030000')} update={"$set"=>{"nation_id"=>"MK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4161ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5377ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Somalia"}, "abbr"=>"SE", "_id"=>"SE", "slug"=>"somalia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-lessie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SE", "$or"=>[{"name.en"=>"Port Lessie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-lessie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SE", "$or"=>[{"name.en"=>"Port Lessie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-lessie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2695ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642040000'), "name"=>{"en"=>"Port Lessie2"}, "geom"=>[-45.0, -7.0], "nation_id"=>"SE", "slug"=>"port-lessie2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belarus"}, "abbr"=>"BO", "_id"=>"BO", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BO", "$or"=>[{"name.en"=>"Port Lessie2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9766d696d4642040000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9766d696d4642040000')} update={"$set"=>{"nation_id"=>"BO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5016ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7051ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8514ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9654ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4415ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Papua New Guinea"}, "abbr"=>"PB", "_id"=>"PB", "slug"=>"papua-new-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"luettgenville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PB", "$or"=>[{"name.en"=>"Luettgenville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"luettgenville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PB", "$or"=>[{"name.en"=>"Luettgenville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"luettgenville3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9766d696d4642050000'), "name"=>{"en"=>"Luettgenville3"}, "geom"=>[-39.0, -12.0], "nation_id"=>"PB", "slug"=>"luettgenville3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-39.0, -12.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6628ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 8.6140ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7547ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"botswana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"botswana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3791ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Botswana"}, "abbr"=>"BH", "_id"=>"BH", "slug"=>"botswana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-hulda0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"New Hulda0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-hulda0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"New Hulda0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-hulda0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4393ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e000000'), "name"=>{"en"=>"New Hulda0"}, "geom"=>[-24.0, -12.0], "nation_id"=>"BH", "slug"=>"new-hulda0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5156ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8214ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3236ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5225ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3597ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4148ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3265ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e050000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5000ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sri Lanka"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"sri-lanka"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-queeniehaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SP", "$or"=>[{"name.en"=>"Port Queeniehaven1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-queeniehaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SP", "$or"=>[{"name.en"=>"Port Queeniehaven1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-queeniehaven1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3553ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e060000'), "name"=>{"en"=>"Port Queeniehaven1"}, "geom"=>[-46.0, -2.0], "nation_id"=>"SP", "slug"=>"port-queeniehaven1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cape Verde"}, "abbr"=>"CC", "_id"=>"CC", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"Port Queeniehaven1"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9cd6d696d465e060000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5660ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9cd6d696d465e060000')} update={"$set"=>{"nation_id"=>"CC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4794ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6373ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Maldives"}, "abbr"=>"MD", "_id"=>"MD", "slug"=>"maldives"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-matilda2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MD", "$or"=>[{"name.en"=>"East Matilda2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-matilda2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MD", "$or"=>[{"name.en"=>"East Matilda2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-matilda2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e070000'), "name"=>{"en"=>"East Matilda2"}, "geom"=>[-34.0, -29.0], "nation_id"=>"MD", "slug"=>"east-matilda2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.8506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6068ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Pierre and Miquelon"}, "abbr"=>"SV", "_id"=>"SV", "slug"=>"saint-pierre-and-miquelon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SV", "$or"=>[{"name.en"=>"East Matilda2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9cd6d696d465e070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6760ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9cd6d696d465e070000')} update={"$set"=>{"nation_id"=>"SV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7466ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5814ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2600ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0024ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tunisia"}, "abbr"=>"TU", "_id"=>"TU", "slug"=>"tunisia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"arvidside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TU", "$or"=>[{"name.en"=>"Arvidside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"arvidside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TU", "$or"=>[{"name.en"=>"Arvidside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"arvidside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6466ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9cd6d696d465e080000'), "name"=>{"en"=>"Arvidside3"}, "geom"=>[-46.0, -15.0], "nation_id"=>"TU", "slug"=>"arvidside3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-46.0, -15.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6779ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.4189ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7189ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3049ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5210ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2427ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2343ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494a9db6d696d4670020000'), "slug"=>"patopolis", "nation_id"=>"NH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2779ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jersey"}, "abbr"=>"JC", "_id"=>"JC", "slug"=>"jersey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hudsonton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JC", "$or"=>[{"name.en"=>"Hudsonton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hudsonton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JC", "$or"=>[{"name.en"=>"Hudsonton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hudsonton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2322ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670060000'), "name"=>{"en"=>"Hudsonton0"}, "geom"=>[-47.0, -20.0], "nation_id"=>"JC", "slug"=>"hudsonton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3611ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5061ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3866ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6081ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tunisia"}, "abbr"=>"TI", "_id"=>"TI", "slug"=>"tunisia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"maudetown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TI", "$or"=>[{"name.en"=>"Maudetown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"maudetown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TI", "$or"=>[{"name.en"=>"Maudetown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"maudetown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670070000'), "name"=>{"en"=>"Maudetown1"}, "geom"=>[-27.0, 5.0], "nation_id"=>"TI", "slug"=>"maudetown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-27.0, 5.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2838ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7794ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1513ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tokelau"}, "abbr"=>"TD", "_id"=>"TD", "slug"=>"tokelau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.5963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"isadoremouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TD", "$or"=>[{"name.en"=>"Isadoremouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"isadoremouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TD", "$or"=>[{"name.en"=>"Isadoremouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"isadoremouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670080000'), "name"=>{"en"=>"Isadoremouth2"}, "geom"=>[-40.0, -7.0], "nation_id"=>"TD", "slug"=>"isadoremouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HU", "_id"=>"HU", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HU", "$or"=>[{"name.en"=>"Isadoremouth2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9db6d696d4670080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5473ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9db6d696d4670080000')} update={"$set"=>{"nation_id"=>"HU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6220ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7435ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RG", "_id"=>"RG", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-casimer3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RG", "$or"=>[{"name.en"=>"New Casimer3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-casimer3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RG", "$or"=>[{"name.en"=>"New Casimer3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-casimer3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9db6d696d4670090000'), "name"=>{"en"=>"New Casimer3"}, "geom"=>[-28.0, -16.0], "nation_id"=>"RG", "slug"=>"new-casimer3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CR", "_id"=>"CR", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CR", "$or"=>[{"name.en"=>"New Casimer3"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9db6d696d4670090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9db6d696d4670090000')} update={"$set"=>{"nation_id"=>"CR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2423ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3509ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3173ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2057ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2449ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6545ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IB", "_id"=>"IB", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-justen0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IB", "$or"=>[{"name.en"=>"East Justen0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-justen0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IB", "$or"=>[{"name.en"=>"East Justen0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-justen0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3003ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685020000'), "name"=>{"en"=>"East Justen0"}, "geom"=>[-36.0, -18.0], "nation_id"=>"IB", "slug"=>"east-justen0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4586ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6368ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494a9e86d696d4685030000'), "slug"=>"patopolis", "nation_id"=>"MC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2882ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3229ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9067ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9626ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sweden"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"sweden"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-eloisa1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"New Eloisa1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-eloisa1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"New Eloisa1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-eloisa1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4399ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685070000'), "name"=>{"en"=>"New Eloisa1"}, "geom"=>[-21.0, -29.0], "nation_id"=>"SM", "slug"=>"new-eloisa1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.4757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-21.0, -29.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5863ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2307ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mongolia"}, "abbr"=>"MS", "_id"=>"MS", "slug"=>"mongolia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"spencertown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"Spencertown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"spencertown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"Spencertown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"spencertown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685080000'), "name"=>{"en"=>"Spencertown2"}, "geom"=>[-31.0, -20.0], "nation_id"=>"MS", "slug"=>"spencertown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Madagascar"}, "abbr"=>"MN", "_id"=>"MN", "slug"=>"madagascar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MN", "$or"=>[{"name.en"=>"Spencertown2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9e86d696d4685080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4256ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9e86d696d4685080000')} update={"$set"=>{"nation_id"=>"MN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5067ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5156ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Peru"}, "abbr"=>"PG", "_id"=>"PG", "slug"=>"peru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mitchellport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PG", "$or"=>[{"name.en"=>"Mitchellport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mitchellport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PG", "$or"=>[{"name.en"=>"Mitchellport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mitchellport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3300ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9e86d696d4685090000'), "name"=>{"en"=>"Mitchellport3"}, "geom"=>[-39.0, 5.0], "nation_id"=>"PG", "slug"=>"mitchellport3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominica"}, "abbr"=>"DK", "_id"=>"DK", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DK", "$or"=>[{"name.en"=>"Mitchellport3"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9e86d696d4685090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9e86d696d4685090000')} update={"$set"=>{"nation_id"=>"DK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4459ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4860ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3971ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f56d696d4698020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494a9f56d696d4698000000'), "slug"=>"patopolis", "nation_id"=>"II"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6127ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lithuania"}, "abbr"=>"LJ", "_id"=>"LJ", "slug"=>"lithuania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"priceville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LJ", "$or"=>[{"name.en"=>"Priceville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"priceville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LJ", "$or"=>[{"name.en"=>"Priceville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"priceville0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4598ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f56d696d4698040000'), "name"=>{"en"=>"Priceville0"}, "geom"=>[-38.0, -28.0], "nation_id"=>"LJ", "slug"=>"priceville0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9052ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4155ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f56d696d4698050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5753ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4216ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f56d696d4698060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.6714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6065ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4328ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3994ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"crooksview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GR", "$or"=>[{"name.en"=>"Crooksview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"crooksview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GR", "$or"=>[{"name.en"=>"Crooksview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"crooksview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f66d696d4698070000'), "name"=>{"en"=>"Crooksview1"}, "geom"=>[-36.0, -3.0], "nation_id"=>"GR", "slug"=>"crooksview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3105ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Germany"}, "abbr"=>"GQ", "_id"=>"GQ", "slug"=>"germany"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GQ", "$or"=>[{"name.en"=>"Crooksview1"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9f66d696d4698070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3870ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9f66d696d4698070000')} update={"$set"=>{"nation_id"=>"GQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3190ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4390ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BT", "_id"=>"BT", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juliohaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"Juliohaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juliohaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"Juliohaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"juliohaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f66d696d4698080000'), "name"=>{"en"=>"Juliohaven2"}, "geom"=>[-29.0, -17.0], "nation_id"=>"BT", "slug"=>"juliohaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GN", "_id"=>"GN", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GN", "$or"=>[{"name.en"=>"Juliohaven2"}], :_id=>{"$ne"=>BSON::ObjectId('5494a9f66d696d4698080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494a9f66d696d4698080000')} update={"$set"=>{"nation_id"=>"GN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2905ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3982ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3970ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AT", "_id"=>"AT", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-marlintown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AT", "$or"=>[{"name.en"=>"South Marlintown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-marlintown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AT", "$or"=>[{"name.en"=>"South Marlintown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-marlintown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494a9f66d696d4698090000'), "name"=>{"en"=>"South Marlintown3"}, "geom"=>[-31.0, -19.0], "nation_id"=>"AT", "slug"=>"south-marlintown3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-31.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4276ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9162ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3984ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aa136d696d46af000000'), "slug"=>"patopolis", "nation_id"=>"CK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turks and Caicos Islands"}, "abbr"=>"TN", "_id"=>"TN", "slug"=>"turks-and-caicos-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hettingerside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TN", "$or"=>[{"name.en"=>"Hettingerside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hettingerside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TN", "$or"=>[{"name.en"=>"Hettingerside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hettingerside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af040000'), "name"=>{"en"=>"Hettingerside0"}, "geom"=>[-41.0, -28.0], "nation_id"=>"TN", "slug"=>"hettingerside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8351ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3934ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3809ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Argentina"}, "abbr"=>"AT", "_id"=>"AT", "slug"=>"argentina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 24.5625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-savanah1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AT", "$or"=>[{"name.en"=>"West Savanah1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-savanah1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AT", "$or"=>[{"name.en"=>"West Savanah1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-savanah1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af070000'), "name"=>{"en"=>"West Savanah1"}, "geom"=>[-41.0, -6.0], "nation_id"=>"AT", "slug"=>"west-savanah1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5003ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5244ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iceland"}, "abbr"=>"IE", "_id"=>"IE", "slug"=>"iceland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IE", "$or"=>[{"name.en"=>"West Savanah1"}], :_id=>{"$ne"=>BSON::ObjectId('5494aa136d696d46af070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7237ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aa136d696d46af070000')} update={"$set"=>{"nation_id"=>"IE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7197ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8919ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4993ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NC", "_id"=>"NC", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"meggiechester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NC", "$or"=>[{"name.en"=>"Meggiechester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"meggiechester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NC", "$or"=>[{"name.en"=>"Meggiechester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"meggiechester2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3646ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af080000'), "name"=>{"en"=>"Meggiechester2"}, "geom"=>[-40.0, -13.0], "nation_id"=>"NC", "slug"=>"meggiechester2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6663ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6035ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9701ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3235ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GK", "_id"=>"GK", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-roycemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GK", "$or"=>[{"name.en"=>"North Roycemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-roycemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GK", "$or"=>[{"name.en"=>"North Roycemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-roycemouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aa136d696d46af090000'), "name"=>{"en"=>"North Roycemouth3"}, "geom"=>[-50.0, -12.0], "nation_id"=>"GK", "slug"=>"north-roycemouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-50.0, -12.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4489ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0806ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5342ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2157ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3192ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SH", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aae16d696d46f2020000'), "slug"=>"patopolis", "nation_id"=>"SH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.5243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RP", "_id"=>"RP", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-khalil0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-khalil0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RP", "$or"=>[{"name.en"=>"Lake Khalil0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-khalil0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-khalil0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RP", "$or"=>[{"name.en"=>"Lake Khalil0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2060000'), "name"=>{"en"=>"Lake Khalil0"}, "geom"=>[-21.0, -18.0], "nation_id"=>"RP", "slug"=>"lake-khalil0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3706ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2666ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4983ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1648ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CK", "_id"=>"CK", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ethelyn1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ethelyn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CK", "$or"=>[{"name.en"=>"Lake Ethelyn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ethelyn1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ethelyn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CK", "$or"=>[{"name.en"=>"Lake Ethelyn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2070000'), "name"=>{"en"=>"Lake Ethelyn1"}, "geom"=>[-36.0, 8.0], "nation_id"=>"CK", "slug"=>"lake-ethelyn1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, 8.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2416ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6271ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nigeria"}, "abbr"=>"NS", "_id"=>"NS", "slug"=>"nigeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-zane2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-zane2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NS", "$or"=>[{"name.en"=>"South Zane2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-zane2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-zane2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NS", "$or"=>[{"name.en"=>"South Zane2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1597ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2080000'), "name"=>{"en"=>"South Zane2"}, "geom"=>[-41.0, -26.0], "nation_id"=>"NS", "slug"=>"south-zane2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1378ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Moldova"}, "abbr"=>"MN", "_id"=>"MN", "slug"=>"moldova"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MN", "$or"=>[{"name.en"=>"South Zane2"}], :_id=>{"$ne"=>BSON::ObjectId('5494aae16d696d46f2080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aae16d696d46f2080000')} update={"$set"=>{"nation_id"=>"MN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2148ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2917ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovakia (Slovak Republic)"}, "abbr"=>"SK", "_id"=>"SK", "slug"=>"slovakia-(slovak-republic)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-turnerview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-turnerview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"New Turnerview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-turnerview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-turnerview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SK", "$or"=>[{"name.en"=>"New Turnerview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aae16d696d46f2090000'), "name"=>{"en"=>"New Turnerview3"}, "geom"=>[-40.0, -6.0], "nation_id"=>"SK", "slug"=>"new-turnerview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lao People's Democratic Republic"}, "abbr"=>"LB", "_id"=>"LB", "slug"=>"lao-people's-democratic-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LB", "$or"=>[{"name.en"=>"New Turnerview3"}], :_id=>{"$ne"=>BSON::ObjectId('5494aae16d696d46f2090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aae16d696d46f2090000')} update={"$set"=>{"nation_id"=>"LB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2969ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2772ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2429ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominican Republic"}, "abbr"=>"DI", "_id"=>"DI", "slug"=>"dominican-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"urielville0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"urielville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DI", "$or"=>[{"name.en"=>"Urielville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"urielville0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"urielville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DI", "$or"=>[{"name.en"=>"Urielville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709000000'), "name"=>{"en"=>"Urielville0"}, "geom"=>[-43.0, -22.0], "nation_id"=>"DI", "slug"=>"urielville0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3204ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4761ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2526ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3291ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 20.1855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3254ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CS", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab036d696d4709030000'), "slug"=>"patopolis", "nation_id"=>"CS"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3421ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MU", "_id"=>"MU", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"powlowskitown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"powlowskitown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MU", "$or"=>[{"name.en"=>"Powlowskitown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"powlowskitown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"powlowskitown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MU", "$or"=>[{"name.en"=>"Powlowskitown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709070000'), "name"=>{"en"=>"Powlowskitown1"}, "geom"=>[-45.0, -18.0], "nation_id"=>"MU", "slug"=>"powlowskitown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Israel"}, "abbr"=>"IE", "_id"=>"IE", "slug"=>"israel"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IE", "$or"=>[{"name.en"=>"Powlowskitown1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab036d696d4709070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3172ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab036d696d4709070000')} update={"$set"=>{"nation_id"=>"IE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2807ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5135ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Israel"}, "abbr"=>"IM", "_id"=>"IM", "slug"=>"israel"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nathaniel2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nathaniel2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IM", "$or"=>[{"name.en"=>"Lake Nathaniel2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nathaniel2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nathaniel2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IM", "$or"=>[{"name.en"=>"Lake Nathaniel2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1967ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709080000'), "name"=>{"en"=>"Lake Nathaniel2"}, "geom"=>[-33.0, -29.0], "nation_id"=>"IM", "slug"=>"lake-nathaniel2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3648ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greece"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greece"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Greece"}, "abbr"=>"GT", "_id"=>"GT", "slug"=>"greece"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"doyleport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"doyleport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GT", "$or"=>[{"name.en"=>"Doyleport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"doyleport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"doyleport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GT", "$or"=>[{"name.en"=>"Doyleport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab036d696d4709090000'), "name"=>{"en"=>"Doyleport3"}, "geom"=>[-35.0, -22.0], "nation_id"=>"GT", "slug"=>"doyleport3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-35.0, -22.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3091ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7163ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3313ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab166d696d471d020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab166d696d471d000000'), "slug"=>"patopolis", "nation_id"=>"SB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1566ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1951ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1440ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TF", "_id"=>"TF", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rocioview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rocioview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"Rocioview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rocioview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rocioview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"Rocioview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d060000'), "name"=>{"en"=>"Rocioview0"}, "geom"=>[-38.0, -4.0], "nation_id"=>"TF", "slug"=>"rocioview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2557ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4563ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2680ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3201ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1383ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Equatorial Guinea"}, "abbr"=>"EI", "_id"=>"EI", "slug"=>"equatorial-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"murrayfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"murrayfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EI", "$or"=>[{"name.en"=>"Murrayfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"murrayfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"murrayfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EI", "$or"=>[{"name.en"=>"Murrayfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1857ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d070000'), "name"=>{"en"=>"Murrayfort1"}, "geom"=>[-24.0, -3.0], "nation_id"=>"EI", "slug"=>"murrayfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -3.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2457ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6377ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pitcairn Islands"}, "abbr"=>"PN", "_id"=>"PN", "slug"=>"pitcairn-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"juanaburgh2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juanaburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PN", "$or"=>[{"name.en"=>"Juanaburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"juanaburgh2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juanaburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PN", "$or"=>[{"name.en"=>"Juanaburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d080000'), "name"=>{"en"=>"Juanaburgh2"}, "geom"=>[-32.0, -7.0], "nation_id"=>"PN", "slug"=>"juanaburgh2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1372ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GF", "_id"=>"GF", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GF", "$or"=>[{"name.en"=>"Juanaburgh2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab176d696d471d080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab176d696d471d080000')} update={"$set"=>{"nation_id"=>"GF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1852ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2708ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1140ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Polynesia"}, "abbr"=>"FA", "_id"=>"FA", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"haleighchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"haleighchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FA", "$or"=>[{"name.en"=>"Haleighchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"haleighchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"haleighchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FA", "$or"=>[{"name.en"=>"Haleighchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1354ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab176d696d471d090000'), "name"=>{"en"=>"Haleighchester3"}, "geom"=>[-47.0, -26.0], "nation_id"=>"FA", "slug"=>"haleighchester3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"EQ", "_id"=>"EQ", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EQ", "$or"=>[{"name.en"=>"Haleighchester3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab176d696d471d090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2025ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab176d696d471d090000')} update={"$set"=>{"nation_id"=>"EQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1889ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2685ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2491ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"San Marino"}, "abbr"=>"SV", "_id"=>"SV", "slug"=>"san-marino"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-onieside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-onieside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SV", "$or"=>[{"name.en"=>"East Onieside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-onieside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-onieside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SV", "$or"=>[{"name.en"=>"East Onieside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4849ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab226d696d4730000000'), "name"=>{"en"=>"East Onieside0"}, "geom"=>[-26.0, -18.0], "nation_id"=>"SV", "slug"=>"east-onieside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.4489ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab226d696d4730010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SV", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5086ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab226d696d4730040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab226d696d4730020000'), "slug"=>"patopolis", "nation_id"=>"SV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6150ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab226d696d4730060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7269ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bosnia-and-herzegovina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5462ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bosnia and Herzegovina"}, "abbr"=>"BL", "_id"=>"BL", "slug"=>"bosnia-and-herzegovina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-odessa1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-odessa1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BL", "$or"=>[{"name.en"=>"South Odessa1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-odessa1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-odessa1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BL", "$or"=>[{"name.en"=>"South Odessa1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab226d696d4730070000'), "name"=>{"en"=>"South Odessa1"}, "geom"=>[-31.0, -2.0], "nation_id"=>"BL", "slug"=>"south-odessa1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4149ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Rwanda"}, "abbr"=>"RC", "_id"=>"RC", "slug"=>"rwanda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RC", "$or"=>[{"name.en"=>"South Odessa1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab226d696d4730070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5666ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab226d696d4730070000')} update={"$set"=>{"nation_id"=>"RC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5634ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7200ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4460ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NI", "_id"=>"NI", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.4448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"effertzborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"effertzborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NI", "$or"=>[{"name.en"=>"Effertzborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"effertzborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"effertzborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NI", "$or"=>[{"name.en"=>"Effertzborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4768ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab236d696d4730080000'), "name"=>{"en"=>"Effertzborough2"}, "geom"=>[-44.0, -8.0], "nation_id"=>"NI", "slug"=>"effertzborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4489ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gambia"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"gambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GR", "$or"=>[{"name.en"=>"Effertzborough2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab236d696d4730080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5976ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab236d696d4730080000')} update={"$set"=>{"nation_id"=>"GR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5709ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7275ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6303ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3234ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9338ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4848ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malawi"}, "abbr"=>"MA", "_id"=>"MA", "slug"=>"malawi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ebonybury3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ebonybury3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MA", "$or"=>[{"name.en"=>"Ebonybury3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4824ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ebonybury3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ebonybury3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MA", "$or"=>[{"name.en"=>"Ebonybury3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4270ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab236d696d4730090000'), "name"=>{"en"=>"Ebonybury3"}, "geom"=>[-45.0, -2.0], "nation_id"=>"MA", "slug"=>"ebonybury3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, -2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6027ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.5030ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7049ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2401ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4196ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3485ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PI", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab3d6d696d4744010000'), "slug"=>"patopolis", "nation_id"=>"PI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744050000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.1507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1662ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Philippines"}, "abbr"=>"PI", "_id"=>"PI", "slug"=>"philippines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jettieview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jettieview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PI", "$or"=>[{"name.en"=>"East Jettieview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jettieview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jettieview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PI", "$or"=>[{"name.en"=>"East Jettieview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744060000'), "name"=>{"en"=>"East Jettieview0"}, "geom"=>[-48.0, 6.0], "nation_id"=>"PI", "slug"=>"east-jettieview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2975ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3735ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4063ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1186ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MG", "_id"=>"MG", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schillershire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schillershire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MG", "$or"=>[{"name.en"=>"Schillershire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schillershire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schillershire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MG", "$or"=>[{"name.en"=>"Schillershire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744070000'), "name"=>{"en"=>"Schillershire1"}, "geom"=>[-29.0, 3.0], "nation_id"=>"MG", "slug"=>"schillershire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, 3.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1442ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VC", "_id"=>"VC", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"tyshawnshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tyshawnshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VC", "$or"=>[{"name.en"=>"Tyshawnshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"tyshawnshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tyshawnshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VC", "$or"=>[{"name.en"=>"Tyshawnshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1281ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744080000'), "name"=>{"en"=>"Tyshawnshire2"}, "geom"=>[-36.0, -13.0], "nation_id"=>"VC", "slug"=>"tyshawnshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1247ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Comoros"}, "abbr"=>"CM", "_id"=>"CM", "slug"=>"comoros"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CM", "$or"=>[{"name.en"=>"Tyshawnshire2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab3d6d696d4744080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab3d6d696d4744080000')} update={"$set"=>{"nation_id"=>"CM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1701ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2356ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Maldives"}, "abbr"=>"MT", "_id"=>"MT", "slug"=>"maldives"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-lenny3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-lenny3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MT", "$or"=>[{"name.en"=>"West Lenny3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-lenny3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-lenny3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MT", "$or"=>[{"name.en"=>"West Lenny3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1265ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab3d6d696d4744090000'), "name"=>{"en"=>"West Lenny3"}, "geom"=>[-21.0, -28.0], "nation_id"=>"MT", "slug"=>"west-lenny3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ER"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ER"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1147ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"ER", "_id"=>"ER", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ER", "$or"=>[{"name.en"=>"West Lenny3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab3d6d696d4744090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab3d6d696d4744090000')} update={"$set"=>{"nation_id"=>"ER"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1594ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2188ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2132ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2715ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4012ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4e6d696d475a000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4e6d696d475a010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, U.S."}, "abbr"=>"VL", "_id"=>"VL", "slug"=>"virgin-islands,-u.s."}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"shannonchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"shannonchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VL", "$or"=>[{"name.en"=>"Shannonchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"shannonchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"shannonchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VL", "$or"=>[{"name.en"=>"Shannonchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4e6d696d475a020000'), "name"=>{"en"=>"Shannonchester0"}, "geom"=>[-50.0, -4.0], "nation_id"=>"VL", "slug"=>"shannonchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9063ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TO", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4f6d696d475a050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab4f6d696d475a030000'), "slug"=>"patopolis", "nation_id"=>"TO"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KV", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4f6d696d475a060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab4f6d696d475a040000'), "slug"=>"patopolis-mg", "nation_id"=>"KV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3254ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5319ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8445ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5217ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VD", "_id"=>"VD", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"furmantown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"furmantown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VD", "$or"=>[{"name.en"=>"Furmantown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"furmantown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"furmantown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VD", "$or"=>[{"name.en"=>"Furmantown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4f6d696d475a070000'), "name"=>{"en"=>"Furmantown1"}, "geom"=>[-44.0, -20.0], "nation_id"=>"VD", "slug"=>"furmantown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-44.0, -20.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5077ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.6242ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Burkina Faso"}, "abbr"=>"BH", "_id"=>"BH", "slug"=>"burkina-faso"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.4415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-jerroldfort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-jerroldfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"West Jerroldfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-jerroldfort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-jerroldfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"West Jerroldfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3649ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4f6d696d475a080000'), "name"=>{"en"=>"West Jerroldfort2"}, "geom"=>[-38.0, -27.0], "nation_id"=>"BH", "slug"=>"west-jerroldfort2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CV", "_id"=>"CV", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CV", "$or"=>[{"name.en"=>"West Jerroldfort2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab4f6d696d475a080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab4f6d696d475a080000')} update={"$set"=>{"nation_id"=>"CV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3363ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4308ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UL", "_id"=>"UL", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-maci3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-maci3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UL", "$or"=>[{"name.en"=>"West Maci3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-maci3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-maci3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UL", "$or"=>[{"name.en"=>"West Maci3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab4f6d696d475a090000'), "name"=>{"en"=>"West Maci3"}, "geom"=>[-47.0, -24.0], "nation_id"=>"UL", "slug"=>"west-maci3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DE", "_id"=>"DE", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DE", "$or"=>[{"name.en"=>"West Maci3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab4f6d696d475a090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3322ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab4f6d696d475a090000')} update={"$set"=>{"nation_id"=>"DE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5002ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4650ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4290ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5630ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab596d696d4774000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4774ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AV", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab596d696d4774030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab596d696d4774010000'), "slug"=>"patopolis", "nation_id"=>"AV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CK", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5091ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab596d696d4774040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab596d696d4774020000'), "slug"=>"patopolis-mg", "nation_id"=>"CK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6429ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5751ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tuvalu"}, "abbr"=>"TD", "_id"=>"TD", "slug"=>"tuvalu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-joshland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-joshland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TD", "$or"=>[{"name.en"=>"East Joshland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-joshland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-joshland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TD", "$or"=>[{"name.en"=>"East Joshland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3855ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab596d696d4774050000'), "name"=>{"en"=>"East Joshland0"}, "geom"=>[-48.0, -7.0], "nation_id"=>"TD", "slug"=>"east-joshland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5594ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9855ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab5a6d696d4774060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3869ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HF", "_id"=>"HF", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"irwinmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"irwinmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HF", "$or"=>[{"name.en"=>"Irwinmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"irwinmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"irwinmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HF", "$or"=>[{"name.en"=>"Irwinmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab5a6d696d4774070000'), "name"=>{"en"=>"Irwinmouth1"}, "geom"=>[-48.0, -30.0], "nation_id"=>"HF", "slug"=>"irwinmouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.6992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Madagascar"}, "abbr"=>"MN", "_id"=>"MN", "slug"=>"madagascar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MN", "$or"=>[{"name.en"=>"Irwinmouth1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab5a6d696d4774070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6628ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab5a6d696d4774070000')} update={"$set"=>{"nation_id"=>"MN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4457ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5853ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DH", "_id"=>"DH", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"quinnton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"quinnton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DH", "$or"=>[{"name.en"=>"Quinnton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"quinnton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"quinnton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DH", "$or"=>[{"name.en"=>"Quinnton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab5a6d696d4774080000'), "name"=>{"en"=>"Quinnton2"}, "geom"=>[-45.0, 6.0], "nation_id"=>"DH", "slug"=>"quinnton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkmenistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkmenistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkmenistan"}, "abbr"=>"TC", "_id"=>"TC", "slug"=>"turkmenistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TC", "$or"=>[{"name.en"=>"Quinnton2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab5a6d696d4774080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab5a6d696d4774080000')} update={"$set"=>{"nation_id"=>"TC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3453ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4395ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4036ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6675ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1751ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Benin"}, "abbr"=>"BE", "_id"=>"BE", "slug"=>"benin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-rupert3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-rupert3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BE", "$or"=>[{"name.en"=>"Port Rupert3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-rupert3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-rupert3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BE", "$or"=>[{"name.en"=>"Port Rupert3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab5a6d696d4774090000'), "name"=>{"en"=>"Port Rupert3"}, "geom"=>[-45.0, -30.0], "nation_id"=>"BE", "slug"=>"port-rupert3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, -30.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3140ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7458ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-ronaldoport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-ronaldoport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"North Ronaldoport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-ronaldoport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-ronaldoport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"North Ronaldoport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c000000'), "name"=>{"en"=>"North Ronaldoport0"}, "geom"=>[-43.0, -24.0], "nation_id"=>"SB", "slug"=>"north-ronaldoport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3734ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.7636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2504ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2066ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MI", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab806d696d478c030000'), "slug"=>"patopolis", "nation_id"=>"MI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab806d696d478c040000'), "slug"=>"patopolis-mg", "nation_id"=>"GH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DP", "_id"=>"DP", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-aldenville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-aldenville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DP", "$or"=>[{"name.en"=>"Lake Aldenville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-aldenville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-aldenville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DP", "$or"=>[{"name.en"=>"Lake Aldenville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c070000'), "name"=>{"en"=>"Lake Aldenville1"}, "geom"=>[-26.0, -25.0], "nation_id"=>"DP", "slug"=>"lake-aldenville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1478ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MV", "_id"=>"MV", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MV", "$or"=>[{"name.en"=>"Lake Aldenville1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab806d696d478c070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab806d696d478c070000')} update={"$set"=>{"nation_id"=>"MV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4093ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Guiana"}, "abbr"=>"FL", "_id"=>"FL", "slug"=>"french-guiana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-myron2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-myron2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FL", "$or"=>[{"name.en"=>"North Myron2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-myron2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-myron2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FL", "$or"=>[{"name.en"=>"North Myron2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c080000'), "name"=>{"en"=>"North Myron2"}, "geom"=>[-39.0, 4.0], "nation_id"=>"FL", "slug"=>"north-myron2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Rwanda"}, "abbr"=>"RW", "_id"=>"RW", "slug"=>"rwanda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RW", "$or"=>[{"name.en"=>"North Myron2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab806d696d478c080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab806d696d478c080000')} update={"$set"=>{"nation_id"=>"RW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2447ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4432ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United States of America"}, "abbr"=>"UP", "_id"=>"UP", "slug"=>"united-states-of-america"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-dino3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-dino3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UP", "$or"=>[{"name.en"=>"North Dino3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-dino3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-dino3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UP", "$or"=>[{"name.en"=>"North Dino3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1454ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c090000'), "name"=>{"en"=>"North Dino3"}, "geom"=>[-32.0, 1.0], "nation_id"=>"UP", "slug"=>"north-dino3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-32.0, 1.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1893ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5202ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1234ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Samoa"}, "abbr"=>"SH", "_id"=>"SH", "slug"=>"samoa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"saviontown4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"saviontown4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SH", "$or"=>[{"name.en"=>"Saviontown4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"saviontown4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"saviontown4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SH", "$or"=>[{"name.en"=>"Saviontown4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c0a0000'), "name"=>{"en"=>"Saviontown4"}, "geom"=>[-41.0, -3.0], "nation_id"=>"SH", "slug"=>"saviontown4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"angelinafurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 18.0129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4746ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"duaneside1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"France"}, "abbr"=>"FS", "_id"=>"FS", "slug"=>"france"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.5716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Barthelemy"}, "_id"=>"BR", "slug"=>"saint-barthelemy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1417ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Pierre and Miquelon"}, "_id"=>"BR", "slug"=>"saint-pierre-and-miquelon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1310ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UM", "_id"=>"UM", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"keanuview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UM", "$or"=>[{"name.en"=>"Keanuview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"keanuview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UM", "$or"=>[{"name.en"=>"Keanuview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494ab806d696d478c0c0000'), "name"=>{"en"=>"Keanuview"}, "abbr"=>"KEA", "nation_id"=>"UM", "slug"=>"keanuview"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 19.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4116ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3899ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4123ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GQ", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab946d696d47b5010000'), "slug"=>"patopolis", "nation_id"=>"GQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SP", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab946d696d47b5020000'), "slug"=>"patopolis-mg", "nation_id"=>"SP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tanzania"}, "abbr"=>"TA", "_id"=>"TA", "slug"=>"tanzania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-flavio0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-flavio0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TA", "$or"=>[{"name.en"=>"North Flavio0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-flavio0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-flavio0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TA", "$or"=>[{"name.en"=>"North Flavio0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5050000'), "name"=>{"en"=>"North Flavio0"}, "geom"=>[-23.0, -9.0], "nation_id"=>"TA", "slug"=>"north-flavio0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3377ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2673ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VM", "_id"=>"VM", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mcclureport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mcclureport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VM", "$or"=>[{"name.en"=>"McClureport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mcclureport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mcclureport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VM", "$or"=>[{"name.en"=>"McClureport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab946d696d47b5070000'), "name"=>{"en"=>"McClureport1"}, "geom"=>[-27.0, -16.0], "nation_id"=>"VM", "slug"=>"mcclureport1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AR", "_id"=>"AR", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AR", "$or"=>[{"name.en"=>"McClureport1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab946d696d47b5070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab946d696d47b5070000')} update={"$set"=>{"nation_id"=>"AR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4696ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2879ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cote d'Ivoire"}, "abbr"=>"CQ", "_id"=>"CQ", "slug"=>"cote-d'ivoire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 19.7866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bodeberg2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bodeberg2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CQ", "$or"=>[{"name.en"=>"Bodeberg2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bodeberg2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bodeberg2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CQ", "$or"=>[{"name.en"=>"Bodeberg2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4958ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab956d696d47b5080000'), "name"=>{"en"=>"Bodeberg2"}, "geom"=>[-26.0, -26.0], "nation_id"=>"CQ", "slug"=>"bodeberg2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4232ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HO", "_id"=>"HO", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HO", "$or"=>[{"name.en"=>"Bodeberg2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab956d696d47b5080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6521ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab956d696d47b5080000')} update={"$set"=>{"nation_id"=>"HO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6910ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9179ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7120ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0406ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6643ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4442ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TO", "_id"=>"TO", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pfannerstillview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pfannerstillview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TO", "$or"=>[{"name.en"=>"Pfannerstillview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pfannerstillview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pfannerstillview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TO", "$or"=>[{"name.en"=>"Pfannerstillview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4987ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab956d696d47b5090000'), "name"=>{"en"=>"Pfannerstillview3"}, "geom"=>[-49.0, -7.0], "nation_id"=>"TO", "slug"=>"pfannerstillview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-49.0, -7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5896ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3619ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6938ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vanuatu"}, "abbr"=>"VU", "_id"=>"VU", "slug"=>"vanuatu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"javonfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"javonfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VU", "$or"=>[{"name.en"=>"Javonfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"javonfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"javonfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VU", "$or"=>[{"name.en"=>"Javonfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1614ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9000000'), "name"=>{"en"=>"Javonfort0"}, "geom"=>[-26.0, -20.0], "nation_id"=>"VU", "slug"=>"javonfort0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3798ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PA", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab9e6d696d47c9020000'), "slug"=>"patopolis", "nation_id"=>"PA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CI", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ab9e6d696d47c9030000'), "slug"=>"patopolis-mg", "nation_id"=>"CI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1910ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1485ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"EW", "_id"=>"EW", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kuvalisburgh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kuvalisburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EW", "$or"=>[{"name.en"=>"Kuvalisburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kuvalisburgh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kuvalisburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EW", "$or"=>[{"name.en"=>"Kuvalisburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9070000'), "name"=>{"en"=>"Kuvalisburgh1"}, "geom"=>[-50.0, -3.0], "nation_id"=>"EW", "slug"=>"kuvalisburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LJ", "_id"=>"LJ", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.5300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LJ", "$or"=>[{"name.en"=>"Kuvalisburgh1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab9e6d696d47c9070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3793ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab9e6d696d47c9070000')} update={"$set"=>{"nation_id"=>"LJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2966ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3939ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"EP", "_id"=>"EP", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"clarabury2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"clarabury2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EP", "$or"=>[{"name.en"=>"Clarabury2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"clarabury2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"clarabury2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EP", "$or"=>[{"name.en"=>"Clarabury2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9080000'), "name"=>{"en"=>"Clarabury2"}, "geom"=>[-22.0, -21.0], "nation_id"=>"EP", "slug"=>"clarabury2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2305ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Solomon Islands"}, "abbr"=>"SW", "_id"=>"SW", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SW", "$or"=>[{"name.en"=>"Clarabury2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ab9e6d696d47c9080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3247ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ab9e6d696d47c9080000')} update={"$set"=>{"nation_id"=>"SW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3902ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2959ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6864ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4419ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PS", "_id"=>"PS", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carolynshire3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carolynshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"Carolynshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carolynshire3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carolynshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"Carolynshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ab9e6d696d47c9090000'), "name"=>{"en"=>"Carolynshire3"}, "geom"=>[-39.0, -30.0], "nation_id"=>"PS", "slug"=>"carolynshire3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-39.0, -30.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7074ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3293ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5342ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ecuador"}, "abbr"=>"EA", "_id"=>"EA", "slug"=>"ecuador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7316ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5763ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"somalia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Somalia"}, "_id"=>"BR", "slug"=>"somalia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2880ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Vincent and the Grenadines"}, "_id"=>"BR", "slug"=>"saint-vincent-and-the-grenadines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3320ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2980ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Falkland Islands (Malvinas)"}, "abbr"=>"FF", "_id"=>"FF", "slug"=>"falkland-islands-(malvinas)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schuppeport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schuppeport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FF", "$or"=>[{"name.en"=>"Schuppeport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schuppeport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schuppeport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FF", "$or"=>[{"name.en"=>"Schuppeport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df010000'), "name"=>{"en"=>"Schuppeport0"}, "geom"=>[-40.0, -27.0], "nation_id"=>"FF", "slug"=>"schuppeport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3931ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5021ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3251ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ST", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aba96d696d47df030000'), "slug"=>"patopolis", "nation_id"=>"ST"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.6179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RU", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aba96d696d47df040000'), "slug"=>"patopolis-mg", "nation_id"=>"RU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominica"}, "abbr"=>"DS", "_id"=>"DS", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7793ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"auerview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"auerview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DS", "$or"=>[{"name.en"=>"Auerview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"auerview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"auerview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DS", "$or"=>[{"name.en"=>"Auerview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3288ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df070000'), "name"=>{"en"=>"Auerview1"}, "geom"=>[-45.0, 4.0], "nation_id"=>"DS", "slug"=>"auerview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2994ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LC", "_id"=>"LC", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LC", "$or"=>[{"name.en"=>"Auerview1"}], :_id=>{"$ne"=>BSON::ObjectId('5494aba96d696d47df070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4172ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aba96d696d47df070000')} update={"$set"=>{"nation_id"=>"LC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3882ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5233ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3095ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cayman Islands"}, "abbr"=>"CC", "_id"=>"CC", "slug"=>"cayman-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"orinborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"orinborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"Orinborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"orinborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"orinborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"Orinborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df080000'), "name"=>{"en"=>"Orinborough2"}, "geom"=>[-49.0, -11.0], "nation_id"=>"CC", "slug"=>"orinborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3005ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BS", "_id"=>"BS", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BS", "$or"=>[{"name.en"=>"Orinborough2"}], :_id=>{"$ne"=>BSON::ObjectId('5494aba96d696d47df080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4284ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aba96d696d47df080000')} update={"$set"=>{"nation_id"=>"BS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4297ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5649ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5366ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8169ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6097ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3309ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sao Tome and Principe"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"sao-tome-and-principe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kochside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kochside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SA", "$or"=>[{"name.en"=>"Kochside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kochside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kochside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SA", "$or"=>[{"name.en"=>"Kochside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df090000'), "name"=>{"en"=>"Kochside3"}, "geom"=>[-48.0, -22.0], "nation_id"=>"SA", "slug"=>"kochside3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-48.0, -22.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9730ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2478ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United Kingdom"}, "abbr"=>"UV", "_id"=>"UV", "slug"=>"united-kingdom"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abbigailview4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abbigailview4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UV", "$or"=>[{"name.en"=>"Abbigailview4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abbigailview4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abbigailview4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UV", "$or"=>[{"name.en"=>"Abbigailview4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2600ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df0a0000'), "name"=>{"en"=>"Abbigailview4"}, "geom"=>[-34.0, -21.0], "nation_id"=>"UV", "slug"=>"abbigailview4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.3548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-ruby0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-ruby0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df0b0000'), "name"=>{"en"=>"Lake Ruby0"}, "city_id"=>BSON::ObjectId('5494aba96d696d47df0a0000'), "slug"=>"lake-ruby0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4047ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6558ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 45.5472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-aylinfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"reunion"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"reunion"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5287ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Reunion"}, "abbr"=>"RH", "_id"=>"RH", "slug"=>"reunion"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"leonefurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RH", "$or"=>[{"name.en"=>"Leonefurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"leonefurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RH", "$or"=>[{"name.en"=>"Leonefurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4396ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494aba96d696d47df0c0000'), "name"=>{"en"=>"Leonefurt"}, "abbr"=>"LEO", "nation_id"=>"RH", "slug"=>"leonefurt"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6849ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8066ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 1.0281ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Eritrea"}, "abbr"=>"EN", "_id"=>"EN", "slug"=>"eritrea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jerrellside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jerrellside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EN", "$or"=>[{"name.en"=>"East Jerrellside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jerrellside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jerrellside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EN", "$or"=>[{"name.en"=>"East Jerrellside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6000000'), "name"=>{"en"=>"East Jerrellside0"}, "geom"=>[-46.0, -27.0], "nation_id"=>"EN", "slug"=>"east-jerrellside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5046ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ER", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494abe06d696d47f6020000'), "slug"=>"patopolis", "nation_id"=>"ER"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494abe06d696d47f6030000'), "slug"=>"patopolis-mg", "nation_id"=>"CC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1178ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CV", "_id"=>"CV", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-theronbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-theronbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CV", "$or"=>[{"name.en"=>"East Theronbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-theronbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-theronbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CV", "$or"=>[{"name.en"=>"East Theronbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6070000'), "name"=>{"en"=>"East Theronbury1"}, "geom"=>[-23.0, -4.0], "nation_id"=>"CV", "slug"=>"east-theronbury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1326ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Niue"}, "abbr"=>"NJ", "_id"=>"NJ", "slug"=>"niue"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NJ", "$or"=>[{"name.en"=>"East Theronbury1"}], :_id=>{"$ne"=>BSON::ObjectId('5494abe06d696d47f6070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2151ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494abe06d696d47f6070000')} update={"$set"=>{"nation_id"=>"NJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1905ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guernsey"}, "abbr"=>"GE", "_id"=>"GE", "slug"=>"guernsey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pourosshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pourosshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GE", "$or"=>[{"name.en"=>"Pourosshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pourosshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pourosshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GE", "$or"=>[{"name.en"=>"Pourosshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5507ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6080000'), "name"=>{"en"=>"Pourosshire2"}, "geom"=>[-41.0, -2.0], "nation_id"=>"GE", "slug"=>"pourosshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkmenistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkmenistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkmenistan"}, "abbr"=>"TW", "_id"=>"TW", "slug"=>"turkmenistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TW", "$or"=>[{"name.en"=>"Pourosshire2"}], :_id=>{"$ne"=>BSON::ObjectId('5494abe06d696d47f6080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494abe06d696d47f6080000')} update={"$set"=>{"nation_id"=>"TW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2749ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4204ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GM", "_id"=>"GM", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-vernie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-vernie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GM", "$or"=>[{"name.en"=>"West Vernie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-vernie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-vernie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GM", "$or"=>[{"name.en"=>"West Vernie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1433ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abe06d696d47f6090000'), "name"=>{"en"=>"West Vernie3"}, "geom"=>[-25.0, -6.0], "nation_id"=>"GM", "slug"=>"west-vernie3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-25.0, -6.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5663ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2441ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3749ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AG", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494abef6d696d4808010000'), "slug"=>"patopolis", "nation_id"=>"AG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DP", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494abef6d696d4808020000'), "slug"=>"patopolis-mg", "nation_id"=>"DP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3341ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"timor-leste"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"timor-leste"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1209ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Timor-Leste"}, "abbr"=>"TI", "_id"=>"TI", "slug"=>"timor-leste"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stokesview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stokesview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TI", "$or"=>[{"name.en"=>"Stokesview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stokesview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stokesview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TI", "$or"=>[{"name.en"=>"Stokesview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808050000'), "name"=>{"en"=>"Stokesview0"}, "geom"=>[-21.0, 7.0], "nation_id"=>"TI", "slug"=>"stokesview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3815ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4733ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Thailand"}, "abbr"=>"TO", "_id"=>"TO", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-noestad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-noestad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TO", "$or"=>[{"name.en"=>"New Noestad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-noestad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-noestad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TO", "$or"=>[{"name.en"=>"New Noestad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808070000'), "name"=>{"en"=>"New Noestad1"}, "geom"=>[-27.0, -9.0], "nation_id"=>"TO", "slug"=>"new-noestad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Swaziland"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"swaziland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"New Noestad1"}], :_id=>{"$ne"=>BSON::ObjectId('5494abef6d696d4808070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3890ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494abef6d696d4808070000')} update={"$set"=>{"nation_id"=>"SB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4709ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"oman"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"OA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"oman"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"OA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Oman"}, "abbr"=>"OA", "_id"=>"OA", "slug"=>"oman"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-cordie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-cordie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"OA", "$or"=>[{"name.en"=>"East Cordie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-cordie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-cordie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"OA", "$or"=>[{"name.en"=>"East Cordie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2484ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808080000'), "name"=>{"en"=>"East Cordie2"}, "geom"=>[-35.0, -17.0], "nation_id"=>"OA", "slug"=>"east-cordie2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HC", "_id"=>"HC", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HC", "$or"=>[{"name.en"=>"East Cordie2"}], :_id=>{"$ne"=>BSON::ObjectId('5494abef6d696d4808080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5983ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494abef6d696d4808080000')} update={"$set"=>{"nation_id"=>"HC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7355ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8418ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7544ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1803ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7749ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"EQ", "_id"=>"EQ", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"creminbury3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"creminbury3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EQ", "$or"=>[{"name.en"=>"Creminbury3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"creminbury3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"creminbury3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EQ", "$or"=>[{"name.en"=>"Creminbury3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4517ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494abef6d696d4808090000'), "name"=>{"en"=>"Creminbury3"}, "geom"=>[-35.0, -26.0], "nation_id"=>"EQ", "slug"=>"creminbury3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-35.0, -26.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4969ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 8.8710ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6991ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6323ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3223ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BG", "_id"=>"BG", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-brannon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BG", "$or"=>[{"name.en"=>"East Brannon"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-brannon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BG", "$or"=>[{"name.en"=>"East Brannon"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494ac106d696d4825000000'), "name"=>{"en"=>"East Brannon"}, "abbr"=>"EAS", "nation_id"=>"BG", "slug"=>"east-brannon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7504ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6753ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ED"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ED"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1934ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"ED", "_id"=>"ED", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-davinborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ED", "$or"=>[{"name.en"=>"New Davinborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-davinborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ED", "$or"=>[{"name.en"=>"New Davinborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494ac166d696d4837000000'), "name"=>{"en"=>"New Davinborough"}, "abbr"=>"NEW", "nation_id"=>"ED", "slug"=>"new-davinborough"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3848ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5590ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2150ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Morocco"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"morocco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-madelynhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-madelynhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MM", "$or"=>[{"name.en"=>"New Madelynhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-madelynhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-madelynhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MM", "$or"=>[{"name.en"=>"New Madelynhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06000000'), "name"=>{"en"=>"New Madelynhaven0"}, "geom"=>[-44.0, -9.0], "nation_id"=>"MM", "slug"=>"new-madelynhaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"mccluremouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"mccluremouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06010000'), "name"=>{"en"=>"McCluremouth0"}, "city_id"=>BSON::ObjectId('5494ac306d696d4b06000000'), "slug"=>"mccluremouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3337ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5808ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9390ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 1.0242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-tia1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3407ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gibraltar"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"gibraltar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rogahnburgh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rogahnburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Rogahnburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rogahnburgh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rogahnburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Rogahnburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06030000'), "name"=>{"en"=>"Rogahnburgh1"}, "geom"=>[-27.0, 6.0], "nation_id"=>"GH", "slug"=>"rogahnburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4764ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6217ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3332ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BK", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac306d696d4b06050000'), "slug"=>"patopolis", "nation_id"=>"BK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SU", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac306d696d4b06060000'), "slug"=>"patopolis-mg", "nation_id"=>"SU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3938ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5750ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8092ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HT", "_id"=>"HT", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.5561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-zackary2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-zackary2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"New Zackary2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-zackary2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-zackary2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"New Zackary2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3806ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b06090000'), "name"=>{"en"=>"New Zackary2"}, "geom"=>[-29.0, 4.0], "nation_id"=>"HT", "slug"=>"new-zackary2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, 4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7448ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3233ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3920ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MN", "_id"=>"MN", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristoffer3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristoffer3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MN", "$or"=>[{"name.en"=>"North Kristoffer3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristoffer3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristoffer3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MN", "$or"=>[{"name.en"=>"North Kristoffer3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4923ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac306d696d4b060a0000'), "name"=>{"en"=>"North Kristoffer3"}, "geom"=>[-25.0, -20.0], "nation_id"=>"MN", "slug"=>"north-kristoffer3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iceland"}, "abbr"=>"IS", "_id"=>"IS", "slug"=>"iceland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IS", "$or"=>[{"name.en"=>"North Kristoffer3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac306d696d4b060a0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac306d696d4b060a0000')} update={"$set"=>{"nation_id"=>"IS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6276ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BV", "_id"=>"BV", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-justyn4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-justyn4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BV", "$or"=>[{"name.en"=>"East Justyn4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-justyn4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-justyn4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BV", "$or"=>[{"name.en"=>"East Justyn4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac316d696d4b060b0000'), "name"=>{"en"=>"East Justyn4"}, "geom"=>[-21.0, -15.0], "nation_id"=>"BV", "slug"=>"east-justyn4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ML"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ML"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mauritius"}, "abbr"=>"ML", "_id"=>"ML", "slug"=>"mauritius"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ML", "$or"=>[{"name.en"=>"East Justyn4"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac316d696d4b060b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4168ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac316d696d4b060b0000')} update={"$set"=>{"nation_id"=>"ML"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5073ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sweden"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sweden"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"sweden"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3148ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Albania"}, "_id"=>"BR", "slug"=>"albania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Tuvalu"}, "_id"=>"BR", "slug"=>"tuvalu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2672ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Faroe Islands"}, "abbr"=>"FA", "_id"=>"FA", "slug"=>"faroe-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-alexandroville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FA", "$or"=>[{"name.en"=>"East Alexandroville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-alexandroville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FA", "$or"=>[{"name.en"=>"East Alexandroville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494ac316d696d4b060c0000'), "name"=>{"en"=>"East Alexandroville"}, "abbr"=>"EAS", "nation_id"=>"FA", "slug"=>"east-alexandroville"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 6.8181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3845ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5185ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2375ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2839ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3216ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.7277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3647ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RA", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac416d696d4b24020000'), "slug"=>"patopolis", "nation_id"=>"RA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GI", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac416d696d4b24030000'), "slug"=>"patopolis-mg", "nation_id"=>"GI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5398ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"argentina"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Argentina"}, "abbr"=>"AE", "_id"=>"AE", "slug"=>"argentina"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-olga0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-olga0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AE", "$or"=>[{"name.en"=>"North Olga0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-olga0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-olga0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AE", "$or"=>[{"name.en"=>"North Olga0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24060000'), "name"=>{"en"=>"North Olga0"}, "geom"=>[-44.0, -28.0], "nation_id"=>"AE", "slug"=>"north-olga0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2671ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5557ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Israel"}, "abbr"=>"IL", "_id"=>"IL", "slug"=>"israel"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-audraborough1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-audraborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Lake Audraborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-audraborough1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-audraborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Lake Audraborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4634ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24070000'), "name"=>{"en"=>"Lake Audraborough1"}, "geom"=>[-23.0, 2.0], "nation_id"=>"IL", "slug"=>"lake-audraborough1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-23.0, 2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5870ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.4079ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Venezuela"}, "abbr"=>"VL", "_id"=>"VL", "slug"=>"venezuela"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"aileenchester2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"aileenchester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VL", "$or"=>[{"name.en"=>"Aileenchester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"aileenchester2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"aileenchester2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VL", "$or"=>[{"name.en"=>"Aileenchester2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24080000'), "name"=>{"en"=>"Aileenchester2"}, "geom"=>[-39.0, -30.0], "nation_id"=>"VL", "slug"=>"aileenchester2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3383ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NT", "$or"=>[{"name.en"=>"Aileenchester2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac416d696d4b24080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4620ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac416d696d4b24080000')} update={"$set"=>{"nation_id"=>"NT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5636ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TC", "_id"=>"TC", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"miltonhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"miltonhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TC", "$or"=>[{"name.en"=>"Miltonhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"miltonhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"miltonhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TC", "$or"=>[{"name.en"=>"Miltonhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac416d696d4b24090000'), "name"=>{"en"=>"Miltonhaven3"}, "geom"=>[-28.0, -22.0], "nation_id"=>"TC", "slug"=>"miltonhaven3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tonga"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tonga"}, "abbr"=>"TJ", "_id"=>"TJ", "slug"=>"tonga"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 4.4600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TJ", "$or"=>[{"name.en"=>"Miltonhaven3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac416d696d4b24090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3956ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac416d696d4b24090000')} update={"$set"=>{"nation_id"=>"TJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3813ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5039ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4707ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2462ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SJ", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac606d696d4b43010000'), "slug"=>"patopolis", "nation_id"=>"SJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GU", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac606d696d4b43020000'), "slug"=>"patopolis-mg", "nation_id"=>"GU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5790ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5809ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Palau"}, "abbr"=>"PL", "_id"=>"PL", "slug"=>"palau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-al0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-al0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PL", "$or"=>[{"name.en"=>"Lake Al0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-al0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-al0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PL", "$or"=>[{"name.en"=>"Lake Al0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43050000'), "name"=>{"en"=>"Lake Al0"}, "geom"=>[-48.0, -19.0], "nation_id"=>"PL", "slug"=>"lake-al0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4594ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7683ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 22.9039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5664ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6943ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4025ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kenya"}, "abbr"=>"KR", "_id"=>"KR", "slug"=>"kenya"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brayanport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brayanport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KR", "$or"=>[{"name.en"=>"Brayanport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brayanport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brayanport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KR", "$or"=>[{"name.en"=>"Brayanport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43070000'), "name"=>{"en"=>"Brayanport1"}, "geom"=>[-36.0, 9.0], "nation_id"=>"KR", "slug"=>"brayanport1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3661ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belarus"}, "abbr"=>"BG", "_id"=>"BG", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BG", "$or"=>[{"name.en"=>"Brayanport1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac606d696d4b43070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6052ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac606d696d4b43070000')} update={"$set"=>{"nation_id"=>"BG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5288ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7070ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4114ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Taiwan"}, "abbr"=>"TH", "_id"=>"TH", "slug"=>"taiwan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-mariano2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-mariano2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TH", "$or"=>[{"name.en"=>"South Mariano2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-mariano2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-mariano2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TH", "$or"=>[{"name.en"=>"South Mariano2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43080000'), "name"=>{"en"=>"South Mariano2"}, "geom"=>[-46.0, 7.0], "nation_id"=>"TH", "slug"=>"south-mariano2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Vincent and the Grenadines"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"saint-vincent-and-the-grenadines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"South Mariano2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac606d696d4b43080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5605ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac606d696d4b43080000')} update={"$set"=>{"nation_id"=>"SM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4535ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7310ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5942ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.7828ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0192ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mayotte"}, "abbr"=>"MG", "_id"=>"MG", "slug"=>"mayotte"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-emerson3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-emerson3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MG", "$or"=>[{"name.en"=>"Lake Emerson3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-emerson3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-emerson3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MG", "$or"=>[{"name.en"=>"Lake Emerson3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac606d696d4b43090000'), "name"=>{"en"=>"Lake Emerson3"}, "geom"=>[-45.0, -26.0], "nation_id"=>"MG", "slug"=>"lake-emerson3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, -26.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1788ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"EK", "_id"=>"EK", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wilkinsonstad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wilkinsonstad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EK", "$or"=>[{"name.en"=>"Wilkinsonstad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wilkinsonstad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wilkinsonstad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EK", "$or"=>[{"name.en"=>"Wilkinsonstad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5166ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f000000'), "name"=>{"en"=>"Wilkinsonstad0"}, "geom"=>[-40.0, 2.0], "nation_id"=>"EK", "slug"=>"wilkinsonstad0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6844ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9737ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5197ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4904ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6754ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MU", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac7e6d696d4b5f030000'), "slug"=>"patopolis", "nation_id"=>"MU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 10.2067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GT", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3520ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac7e6d696d4b5f040000'), "slug"=>"patopolis-mg", "nation_id"=>"GT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4214ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RB", "_id"=>"RB", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"otholand1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"otholand1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RB", "$or"=>[{"name.en"=>"Otholand1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"otholand1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"otholand1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RB", "$or"=>[{"name.en"=>"Otholand1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1763ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f070000'), "name"=>{"en"=>"Otholand1"}, "geom"=>[-40.0, 9.0], "nation_id"=>"RB", "slug"=>"otholand1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SQ", "$or"=>[{"name.en"=>"Otholand1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac7e6d696d4b5f070000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f070000')} update={"$set"=>{"nation_id"=>"SQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6257ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2807ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nigeria"}, "abbr"=>"NH", "_id"=>"NH", "slug"=>"nigeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-orvalhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-orvalhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"Port Orvalhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-orvalhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-orvalhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"Port Orvalhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2419ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f080000'), "name"=>{"en"=>"Port Orvalhaven2"}, "geom"=>[-40.0, -17.0], "nation_id"=>"NH", "slug"=>"port-orvalhaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5173ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ireland"}, "abbr"=>"IH", "_id"=>"IH", "slug"=>"ireland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IH", "$or"=>[{"name.en"=>"Port Orvalhaven2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac7e6d696d4b5f080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f080000')} update={"$set"=>{"nation_id"=>"IH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3014ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4161ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3915ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Togo"}, "abbr"=>"TQ", "_id"=>"TQ", "slug"=>"togo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"laynetown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"laynetown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Laynetown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"laynetown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"laynetown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Laynetown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac7e6d696d4b5f090000'), "name"=>{"en"=>"Laynetown3"}, "geom"=>[-25.0, -17.0], "nation_id"=>"TQ", "slug"=>"laynetown3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-25.0, -17.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7208ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3277ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Belgium"}, "_id"=>"BR", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3393ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lebanon"}, "_id"=>"BR", "slug"=>"lebanon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 12.2151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4833ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2791ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Seychelles"}, "abbr"=>"SU", "_id"=>"SU", "slug"=>"seychelles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-nicholasfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UN", "_id"=>"UN", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-vincenzohaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-vincenzohaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UN", "$or"=>[{"name.en"=>"West Vincenzohaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-vincenzohaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-vincenzohaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UN", "$or"=>[{"name.en"=>"West Vincenzohaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3526ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74000000'), "name"=>{"en"=>"West Vincenzohaven0"}, "geom"=>[-29.0, -6.0], "nation_id"=>"UN", "slug"=>"west-vincenzohaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-tressie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-tressie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74010000'), "name"=>{"en"=>"North Tressie1"}, "city_id"=>BSON::ObjectId('5494ac856d696d4b74000000'), "slug"=>"north-tressie1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4455ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5732ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gambia"}, "abbr"=>"GC", "_id"=>"GC", "slug"=>"gambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-winona"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GC", "$or"=>[{"name.en"=>"Lake Winona"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-winona"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GC", "$or"=>[{"name.en"=>"Lake Winona"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74020000'), "name"=>{"en"=>"Lake Winona"}, "abbr"=>"LAK", "nation_id"=>"GC", "slug"=>"lake-winona"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2617ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3580ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5476ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4632ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CC", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac856d696d4b74050000'), "slug"=>"patopolis", "nation_id"=>"CC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MA", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac856d696d4b74060000'), "slug"=>"patopolis-mg", "nation_id"=>"MA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3189ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"american-samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"american-samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"American Samoa"}, "abbr"=>"AJ", "_id"=>"AJ", "slug"=>"american-samoa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kelvin1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kelvin1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AJ", "$or"=>[{"name.en"=>"Port Kelvin1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kelvin1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kelvin1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AJ", "$or"=>[{"name.en"=>"Port Kelvin1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b74090000'), "name"=>{"en"=>"Port Kelvin1"}, "geom"=>[-41.0, -8.0], "nation_id"=>"AJ", "slug"=>"port-kelvin1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4051ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3848ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.4537ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4396ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Hong Kong"}, "abbr"=>"HR", "_id"=>"HR", "slug"=>"hong-kong"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-cathrineshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-cathrineshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HR", "$or"=>[{"name.en"=>"East Cathrineshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-cathrineshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-cathrineshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HR", "$or"=>[{"name.en"=>"East Cathrineshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b740a0000'), "name"=>{"en"=>"East Cathrineshire2"}, "geom"=>[-35.0, -12.0], "nation_id"=>"HR", "slug"=>"east-cathrineshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-35.0, -12.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8340ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Indonesia"}, "abbr"=>"IL", "_id"=>"IL", "slug"=>"indonesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"runolfssonchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"runolfssonchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Runolfssonchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"runolfssonchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"runolfssonchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Runolfssonchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b740b0000'), "name"=>{"en"=>"Runolfssonchester3"}, "geom"=>[-25.0, -11.0], "nation_id"=>"IL", "slug"=>"runolfssonchester3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2157ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Eritrea"}, "abbr"=>"EA", "_id"=>"EA", "slug"=>"eritrea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EA", "$or"=>[{"name.en"=>"Runolfssonchester3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac856d696d4b740b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac856d696d4b740b0000')} update={"$set"=>{"nation_id"=>"EA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3459ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1283ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PD", "_id"=>"PD", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-joseborough4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-joseborough4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PD", "$or"=>[{"name.en"=>"South Joseborough4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-joseborough4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-joseborough4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PD", "$or"=>[{"name.en"=>"South Joseborough4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac856d696d4b740c0000'), "name"=>{"en"=>"South Joseborough4"}, "geom"=>[-37.0, -17.0], "nation_id"=>"PD", "slug"=>"south-joseborough4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Caledonia"}, "abbr"=>"NM", "_id"=>"NM", "slug"=>"new-caledonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NM", "$or"=>[{"name.en"=>"South Joseborough4"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac856d696d4b740c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac856d696d4b740c0000')} update={"$set"=>{"nation_id"=>"NM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6795ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7801ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8470ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3796ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3359ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CQ", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac8e6d696d4b8d010000'), "slug"=>"patopolis", "nation_id"=>"CQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TU", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ac8e6d696d4b8d020000'), "slug"=>"patopolis-mg", "nation_id"=>"TU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2790ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Canada"}, "abbr"=>"CT", "_id"=>"CT", "slug"=>"canada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kingside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kingside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"Kingside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kingside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kingside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"Kingside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d060000'), "name"=>{"en"=>"Kingside0"}, "geom"=>[-26.0, -21.0], "nation_id"=>"CT", "slug"=>"kingside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4247ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5099ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3393ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SL", "_id"=>"SL", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"colebury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"colebury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SL", "$or"=>[{"name.en"=>"Colebury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"colebury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"colebury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SL", "$or"=>[{"name.en"=>"Colebury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d070000'), "name"=>{"en"=>"Colebury1"}, "geom"=>[-21.0, -19.0], "nation_id"=>"SL", "slug"=>"colebury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-21.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6097ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.5321ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Wallis and Futuna"}, "abbr"=>"WP", "_id"=>"WP", "slug"=>"wallis-and-futuna"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-juniusmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-juniusmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"WP", "$or"=>[{"name.en"=>"New Juniusmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-juniusmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-juniusmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"WP", "$or"=>[{"name.en"=>"New Juniusmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d080000'), "name"=>{"en"=>"New Juniusmouth2"}, "geom"=>[-47.0, -12.0], "nation_id"=>"WP", "slug"=>"new-juniusmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bouvet Island (Bouvetoya)"}, "abbr"=>"BP", "_id"=>"BP", "slug"=>"bouvet-island-(bouvetoya)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BP", "$or"=>[{"name.en"=>"New Juniusmouth2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac8e6d696d4b8d080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d080000')} update={"$set"=>{"nation_id"=>"BP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3665ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Azerbaijan"}, "abbr"=>"AR", "_id"=>"AR", "slug"=>"azerbaijan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"powlowskiport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"powlowskiport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AR", "$or"=>[{"name.en"=>"Powlowskiport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"powlowskiport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"powlowskiport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AR", "$or"=>[{"name.en"=>"Powlowskiport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d090000'), "name"=>{"en"=>"Powlowskiport3"}, "geom"=>[-41.0, 8.0], "nation_id"=>"AR", "slug"=>"powlowskiport3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.1113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Niue"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"niue"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NT", "$or"=>[{"name.en"=>"Powlowskiport3"}], :_id=>{"$ne"=>BSON::ObjectId('5494ac8e6d696d4b8d090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3274ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ac8e6d696d4b8d090000')} update={"$set"=>{"nation_id"=>"NT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2855ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3483ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Isle of Man"}, "abbr"=>"IG", "_id"=>"IG", "slug"=>"isle-of-man"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bernierstad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bernierstad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IG", "$or"=>[{"name.en"=>"Bernierstad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bernierstad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bernierstad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IG", "$or"=>[{"name.en"=>"Bernierstad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3172ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ac9a6d696d4ba8000000'), "name"=>{"en"=>"Bernierstad0"}, "geom"=>[-41.0, -22.0], "nation_id"=>"IG", "slug"=>"bernierstad0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-maud0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-maud0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494ac9a6d696d4ba8010000'), "name"=>{"en"=>"Lake Maud0"}, "city_id"=>BSON::ObjectId('5494ac9a6d696d4ba8000000'), "slug"=>"lake-maud0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6768ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.6792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"metaland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"stehrmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NH", "_id"=>"NH", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lueilwitzborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lueilwitzborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"Lueilwitzborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lueilwitzborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lueilwitzborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"Lueilwitzborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5008ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb000000'), "name"=>{"en"=>"Lueilwitzborough0"}, "geom"=>[-21.0, -1.0], "nation_id"=>"NH", "slug"=>"lueilwitzborough0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.0436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"adamsfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"adamsfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4222ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb010000'), "name"=>{"en"=>"Adamsfort1"}, "city_id"=>BSON::ObjectId('5494aca26d696d4bbb000000'), "slug"=>"adamsfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7961ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8138ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.7326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3737ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"puerto-rico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"puerto-rico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4699ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Puerto Rico"}, "abbr"=>"PB", "_id"=>"PB", "slug"=>"puerto-rico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-norvalton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-norvalton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PB", "$or"=>[{"name.en"=>"East Norvalton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-norvalton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-norvalton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PB", "$or"=>[{"name.en"=>"East Norvalton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3500ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb030000'), "name"=>{"en"=>"East Norvalton1"}, "geom"=>[-29.0, -28.0], "nation_id"=>"PB", "slug"=>"east-norvalton1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5883ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AF", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aca26d696d4bbb040000'), "slug"=>"patopolis", "nation_id"=>"AF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SB", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494aca26d696d4bbb050000'), "slug"=>"patopolis-mg", "nation_id"=>"SB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4194ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4888ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8520ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5986ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nauru"}, "abbr"=>"NH", "_id"=>"NH", "slug"=>"nauru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-jammie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-jammie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"New Jammie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-jammie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-jammie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NH", "$or"=>[{"name.en"=>"New Jammie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb090000'), "name"=>{"en"=>"New Jammie2"}, "geom"=>[-22.0, 2.0], "nation_id"=>"NH", "slug"=>"new-jammie2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, 2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3444ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1958ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Polynesia"}, "abbr"=>"FV", "_id"=>"FV", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"onafort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"onafort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FV", "$or"=>[{"name.en"=>"Onafort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"onafort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"onafort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FV", "$or"=>[{"name.en"=>"Onafort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb0a0000'), "name"=>{"en"=>"Onafort3"}, "geom"=>[-21.0, -24.0], "nation_id"=>"FV", "slug"=>"onafort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cape Verde"}, "abbr"=>"CK", "_id"=>"CK", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CK", "$or"=>[{"name.en"=>"Onafort3"}], :_id=>{"$ne"=>BSON::ObjectId('5494aca26d696d4bbb0a0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4006ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aca26d696d4bbb0a0000')} update={"$set"=>{"nation_id"=>"CK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.6033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4283ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5242ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2885ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Panama"}, "abbr"=>"PC", "_id"=>"PC", "slug"=>"panama"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"saulville4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"saulville4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PC", "$or"=>[{"name.en"=>"Saulville4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"saulville4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"saulville4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PC", "$or"=>[{"name.en"=>"Saulville4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2906ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb0b0000'), "name"=>{"en"=>"Saulville4"}, "geom"=>[-28.0, 2.0], "nation_id"=>"PC", "slug"=>"saulville4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kenya"}, "abbr"=>"KG", "_id"=>"KG", "slug"=>"kenya"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KG", "$or"=>[{"name.en"=>"Saulville4"}], :_id=>{"$ne"=>BSON::ObjectId('5494aca26d696d4bbb0b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4417ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494aca26d696d4bbb0b0000')} update={"$set"=>{"nation_id"=>"KG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3351ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4248ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CW", "_id"=>"CW", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-harleyhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CW", "$or"=>[{"name.en"=>"Lake Harleyhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-harleyhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CW", "$or"=>[{"name.en"=>"Lake Harleyhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494aca26d696d4bbb0c0000'), "name"=>{"en"=>"Lake Harleyhaven"}, "abbr"=>"LAK", "nation_id"=>"CW", "slug"=>"lake-harleyhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3118ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3832ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1879ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Faroe Islands"}, "_id"=>"BR", "slug"=>"faroe-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UG", "_id"=>"UG", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Eritrea"}, "_id"=>"BR", "slug"=>"eritrea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2660ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3500ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2666ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"libyan-arab-jamahiriya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"libyan-arab-jamahiriya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Libyan Arab Jamahiriya"}, "abbr"=>"LN", "_id"=>"LN", "slug"=>"libyan-arab-jamahiriya"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"rafaelshire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"LN", "$or"=>[{"name.en"=>"Rafaelshire"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"rafaelshire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"LN", "$or"=>[{"name.en"=>"Rafaelshire"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494acaf6d696d4bdf000000'), "name"=>{"en"=>"Rafaelshire"}, "abbr"=>"RAF", "nation_id"=>"LN", "slug"=>"rafaelshire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3103ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4484ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3931ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Barbados"}, "_id"=>"BR", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5056ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gambia"}, "abbr"=>"GV", "_id"=>"GV", "slug"=>"gambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3842ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Pierre and Miquelon"}, "_id"=>"BR", "slug"=>"saint-pierre-and-miquelon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3166ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liechtenstein"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liechtenstein"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Liechtenstein"}, "abbr"=>"LS", "_id"=>"LS", "slug"=>"liechtenstein"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 12.0098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mosemouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mosemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LS", "$or"=>[{"name.en"=>"Mosemouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mosemouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mosemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LS", "$or"=>[{"name.en"=>"Mosemouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3590ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01000000'), "name"=>{"en"=>"Mosemouth0"}, "geom"=>[-48.0, 6.0], "nation_id"=>"LS", "slug"=>"mosemouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"matteoshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"matteoshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01010000'), "name"=>{"en"=>"Matteoshire0"}, "city_id"=>BSON::ObjectId('5494acc26d696d4c01000000'), "slug"=>"matteoshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3675ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4379ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5408ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-enid1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4398ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"British Indian Ocean Territory (Chagos Archipelago)"}, "abbr"=>"BT", "_id"=>"BT", "slug"=>"british-indian-ocean-territory-(chagos-archipelago)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-nikolas1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-nikolas1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"West Nikolas1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-nikolas1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-nikolas1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"West Nikolas1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01040000'), "name"=>{"en"=>"West Nikolas1"}, "geom"=>[-29.0, -5.0], "nation_id"=>"BT", "slug"=>"west-nikolas1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2824ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3712ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NM", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acc26d696d4c01050000'), "slug"=>"patopolis", "nation_id"=>"NM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AS", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acc26d696d4c01060000'), "slug"=>"patopolis-mg", "nation_id"=>"AS"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2453ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2805ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7780ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4854ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Italy"}, "abbr"=>"IB", "_id"=>"IB", "slug"=>"italy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carrollton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carrollton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IB", "$or"=>[{"name.en"=>"Carrollton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carrollton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carrollton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IB", "$or"=>[{"name.en"=>"Carrollton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c01090000'), "name"=>{"en"=>"Carrollton2"}, "geom"=>[-30.0, 9.0], "nation_id"=>"IB", "slug"=>"carrollton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-30.0, 9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5344ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3024ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tanzania"}, "abbr"=>"TQ", "_id"=>"TQ", "slug"=>"tanzania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-josianefort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-josianefort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"New Josianefort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-josianefort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-josianefort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"New Josianefort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c010a0000'), "name"=>{"en"=>"New Josianefort3"}, "geom"=>[-33.0, -19.0], "nation_id"=>"TQ", "slug"=>"new-josianefort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.9220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NW", "_id"=>"NW", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NW", "$or"=>[{"name.en"=>"New Josianefort3"}], :_id=>{"$ne"=>BSON::ObjectId('5494acc26d696d4c010a0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4275ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acc26d696d4c010a0000')} update={"$set"=>{"nation_id"=>"NW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4173ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4919ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Estonia"}, "abbr"=>"EF", "_id"=>"EF", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"treutelshire4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"treutelshire4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EF", "$or"=>[{"name.en"=>"Treutelshire4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"treutelshire4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"treutelshire4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"EF", "$or"=>[{"name.en"=>"Treutelshire4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c010b0000'), "name"=>{"en"=>"Treutelshire4"}, "geom"=>[-35.0, -15.0], "nation_id"=>"EF", "slug"=>"treutelshire4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Comoros"}, "abbr"=>"CM", "_id"=>"CM", "slug"=>"comoros"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CM", "$or"=>[{"name.en"=>"Treutelshire4"}], :_id=>{"$ne"=>BSON::ObjectId('5494acc26d696d4c010b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3792ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acc26d696d4c010b0000')} update={"$set"=>{"nation_id"=>"CM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4853ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Martinique"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"martinique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"bettyetown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MJ", "$or"=>[{"name.en"=>"Bettyetown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"bettyetown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MJ", "$or"=>[{"name.en"=>"Bettyetown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494acc26d696d4c010c0000'), "name"=>{"en"=>"Bettyetown"}, "abbr"=>"BET", "nation_id"=>"MJ", "slug"=>"bettyetown"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3648ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2506ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5278ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kenya"}, "abbr"=>"KU", "_id"=>"KU", "slug"=>"kenya"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-elliott"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"KU", "$or"=>[{"name.en"=>"West Elliott"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-elliott"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"KU", "$or"=>[{"name.en"=>"West Elliott"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3343ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c000000'), "name"=>{"en"=>"West Elliott"}, "abbr"=>"WES", "nation_id"=>"KU", "slug"=>"west-elliott"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6845ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0651ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 1.0386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3572ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guinea-Bissau"}, "_id"=>"BR", "slug"=>"guinea-bissau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2847ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Malawi"}, "_id"=>"BR", "slug"=>"malawi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Monaco"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"monaco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3206ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lockmantown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2488ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Solomon Islands"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stromanport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stromanport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SI", "$or"=>[{"name.en"=>"Stromanport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stromanport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stromanport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SI", "$or"=>[{"name.en"=>"Stromanport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c010000'), "name"=>{"en"=>"Stromanport0"}, "geom"=>[-41.0, 7.0], "nation_id"=>"SI", "slug"=>"stromanport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-merlin1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-merlin1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c020000'), "name"=>{"en"=>"Port Merlin1"}, "city_id"=>BSON::ObjectId('5494acd96d696d4c2c010000'), "slug"=>"port-merlin1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.5390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5293ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5288ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6097ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.8560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VB", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4480ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acd96d696d4c2c030000'), "slug"=>"patopolis", "nation_id"=>"VB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AF", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5994ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acd96d696d4c2c040000'), "slug"=>"patopolis-mg", "nation_id"=>"AF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6629ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6099ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5831ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5603ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4204ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BF", "_id"=>"BF", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"walshbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"walshbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BF", "$or"=>[{"name.en"=>"Walshbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"walshbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"walshbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BF", "$or"=>[{"name.en"=>"Walshbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4100ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c090000'), "name"=>{"en"=>"Walshbury1"}, "geom"=>[-45.0, -9.0], "nation_id"=>"BF", "slug"=>"walshbury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5772ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7046ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9492ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6141ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3801ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Burkina Faso"}, "abbr"=>"BW", "_id"=>"BW", "slug"=>"burkina-faso"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-armandotown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-armandotown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BW", "$or"=>[{"name.en"=>"East Armandotown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-armandotown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-armandotown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BW", "$or"=>[{"name.en"=>"East Armandotown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acd96d696d4c2c0a0000'), "name"=>{"en"=>"East Armandotown2"}, "geom"=>[-21.0, -14.0], "nation_id"=>"BW", "slug"=>"east-armandotown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-21.0, -14.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5101ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2404ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Peru"}, "abbr"=>"PD", "_id"=>"PD", "slug"=>"peru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.0059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-anabelview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-anabelview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PD", "$or"=>[{"name.en"=>"East Anabelview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-anabelview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-anabelview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PD", "$or"=>[{"name.en"=>"East Anabelview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4106ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acda6d696d4c2c0b0000'), "name"=>{"en"=>"East Anabelview3"}, "geom"=>[-50.0, -23.0], "nation_id"=>"PD", "slug"=>"east-anabelview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3865ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Samoa"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"samoa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SG", "$or"=>[{"name.en"=>"East Anabelview3"}], :_id=>{"$ne"=>BSON::ObjectId('5494acda6d696d4c2c0b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5289ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acda6d696d4c2c0b0000')} update={"$set"=>{"nation_id"=>"SG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6963ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Papua New Guinea"}, "abbr"=>"PS", "_id"=>"PS", "slug"=>"papua-new-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-khalil4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-khalil4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"South Khalil4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-khalil4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-khalil4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"South Khalil4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3389ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acda6d696d4c2c0c0000'), "name"=>{"en"=>"South Khalil4"}, "geom"=>[-48.0, -25.0], "nation_id"=>"PS", "slug"=>"south-khalil4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kenya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5212ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kenya"}, "abbr"=>"KP", "_id"=>"KP", "slug"=>"kenya"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KP", "$or"=>[{"name.en"=>"South Khalil4"}], :_id=>{"$ne"=>BSON::ObjectId('5494acda6d696d4c2c0c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acda6d696d4c2c0c0000')} update={"$set"=>{"nation_id"=>"KP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4122ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5750ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5155ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3347ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Heard Island and McDonald Islands"}, "_id"=>"BR", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4691ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lao People's Democratic Republic"}, "_id"=>"BR", "slug"=>"lao-people's-democratic-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5915ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2742ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Syrian Arab Republic"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"syrian-arab-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4055ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4872ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1629ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Switzerland"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"mattshire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SO", "$or"=>[{"name.en"=>"Mattshire"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"mattshire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SO", "$or"=>[{"name.en"=>"Mattshire"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1375ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd000000'), "name"=>{"en"=>"Mattshire"}, "abbr"=>"MAT", "nation_id"=>"SO", "slug"=>"mattshire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1841ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3393ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belize"}, "abbr"=>"BP", "_id"=>"BP", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1800ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Costa Rica"}, "_id"=>"BR", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Suriname"}, "_id"=>"BR", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"domenicaberg0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tunisia"}, "abbr"=>"TJ", "_id"=>"TJ", "slug"=>"tunisia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nicolasmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nicolasmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TJ", "$or"=>[{"name.en"=>"Nicolasmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nicolasmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nicolasmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TJ", "$or"=>[{"name.en"=>"Nicolasmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd010000'), "name"=>{"en"=>"Nicolasmouth0"}, "geom"=>[-36.0, -9.0], "nation_id"=>"TJ", "slug"=>"nicolasmouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"kerluketown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"kerluketown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd020000'), "name"=>{"en"=>"Kerluketown1"}, "city_id"=>BSON::ObjectId('5494acf16d696d4cbd010000'), "slug"=>"kerluketown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3355ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 18.4162ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9143ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HD", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acf16d696d4cbd030000'), "slug"=>"patopolis", "nation_id"=>"HD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GG", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494acf16d696d4cbd040000'), "slug"=>"patopolis-mg", "nation_id"=>"GG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4820ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4192ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4131ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gabon"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"gabon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"neomaland1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"neomaland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Neomaland1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"neomaland1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"neomaland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Neomaland1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3873ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd090000'), "name"=>{"en"=>"Neomaland1"}, "geom"=>[-31.0, -12.0], "nation_id"=>"GH", "slug"=>"neomaland1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5022ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6430ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8833ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6179ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Andorra"}, "abbr"=>"AG", "_id"=>"AG", "slug"=>"andorra"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-braxton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-braxton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AG", "$or"=>[{"name.en"=>"South Braxton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-braxton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-braxton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AG", "$or"=>[{"name.en"=>"South Braxton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd0a0000'), "name"=>{"en"=>"South Braxton2"}, "geom"=>[-44.0, -11.0], "nation_id"=>"AG", "slug"=>"south-braxton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-44.0, -11.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4376ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0556ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UF", "_id"=>"UF", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"grantburgh3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"grantburgh3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UF", "$or"=>[{"name.en"=>"Grantburgh3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"grantburgh3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"grantburgh3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UF", "$or"=>[{"name.en"=>"Grantburgh3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd0b0000'), "name"=>{"en"=>"Grantburgh3"}, "geom"=>[-34.0, -8.0], "nation_id"=>"UF", "slug"=>"grantburgh3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2775ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Trinidad and Tobago"}, "abbr"=>"TF", "_id"=>"TF", "slug"=>"trinidad-and-tobago"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"Grantburgh3"}], :_id=>{"$ne"=>BSON::ObjectId('5494acf16d696d4cbd0b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3885ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acf16d696d4cbd0b0000')} update={"$set"=>{"nation_id"=>"TF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3684ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 7.4526ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3729ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Trinidad and Tobago"}, "abbr"=>"TS", "_id"=>"TS", "slug"=>"trinidad-and-tobago"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marlonbury4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marlonbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TS", "$or"=>[{"name.en"=>"Marlonbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marlonbury4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marlonbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TS", "$or"=>[{"name.en"=>"Marlonbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494acf16d696d4cbd0c0000'), "name"=>{"en"=>"Marlonbury4"}, "geom"=>[-22.0, -17.0], "nation_id"=>"TS", "slug"=>"marlonbury4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"II"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"II"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iran"}, "abbr"=>"II", "_id"=>"II", "slug"=>"iran"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"II", "$or"=>[{"name.en"=>"Marlonbury4"}], :_id=>{"$ne"=>BSON::ObjectId('5494acf16d696d4cbd0c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5133ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494acf16d696d4cbd0c0000')} update={"$set"=>{"nation_id"=>"II"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4956ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6662ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6116ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Niger"}, "_id"=>"BR", "slug"=>"niger"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Antigua and Barbuda"}, "_id"=>"BR", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2770ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Netherlands"}, "_id"=>"BR", "slug"=>"netherlands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2795ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-kitts-and-nevis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UA", "_id"=>"UA", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 11.2485ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"French Polynesia"}, "_id"=>"BR", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4004ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brazil"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brazil"}, "abbr"=>"BH", "_id"=>"BH", "slug"=>"brazil"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3561ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Malta"}, "_id"=>"BR", "slug"=>"malta"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3394ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Nigeria"}, "_id"=>"BR", "slug"=>"nigeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cocos-(keeling)-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5533ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lesotho"}, "_id"=>"BR", "slug"=>"lesotho"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"austria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4909ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3186ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kuwait"}, "abbr"=>"KG", "_id"=>"KG", "slug"=>"kuwait"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 20.4973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Gabon"}, "_id"=>"BR", "slug"=>"gabon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5144ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"United Kingdom"}, "_id"=>"BR", "slug"=>"united-kingdom"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4165ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Isle of Man"}, "abbr"=>"IT", "_id"=>"IT", "slug"=>"isle-of-man"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"port-kayleeville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"IT", "$or"=>[{"name.en"=>"Port Kayleeville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"port-kayleeville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"IT", "$or"=>[{"name.en"=>"Port Kayleeville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5005ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a000000'), "name"=>{"en"=>"Port Kayleeville"}, "abbr"=>"POR", "nation_id"=>"IT", "slug"=>"port-kayleeville"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 6.5628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6510ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.1114ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 1.0040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3766ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Dominica"}, "_id"=>"BR", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3984ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Benin"}, "_id"=>"BR", "slug"=>"benin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3632ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NB", "_id"=>"NB", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3180ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2529ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Cape Verde"}, "_id"=>"BR", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3897ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BK", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494c8076d696d535a010000'), "slug"=>"patopolis", "nation_id"=>"BK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LE", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5149ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494c8076d696d535a020000'), "slug"=>"patopolis-mg", "nation_id"=>"LE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3406ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2402ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Costa Rica"}, "abbr"=>"CT", "_id"=>"CT", "slug"=>"costa-rica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ebertland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ebertland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"Ebertland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ebertland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ebertland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2484ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"Ebertland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a060000'), "name"=>{"en"=>"Ebertland0"}, "geom"=>[-50.0, -19.0], "nation_id"=>"CT", "slug"=>"ebertland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3019ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3775ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a070000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3819ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gibraltar"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"gibraltar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.5406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nestortown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nestortown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Nestortown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nestortown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nestortown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GH", "$or"=>[{"name.en"=>"Nestortown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a080000'), "name"=>{"en"=>"Nestortown1"}, "geom"=>[-38.0, -15.0], "nation_id"=>"GH", "slug"=>"nestortown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1502ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LI", "_id"=>"LI", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LI", "$or"=>[{"name.en"=>"Nestortown1"}], :_id=>{"$ne"=>BSON::ObjectId('5494c8076d696d535a080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494c8076d696d535a080000')} update={"$set"=>{"nation_id"=>"LI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3369ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5212ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1869ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Israel"}, "abbr"=>"IL", "_id"=>"IL", "slug"=>"israel"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jeffmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jeffmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Jeffmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jeffmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jeffmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IL", "$or"=>[{"name.en"=>"Jeffmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a090000'), "name"=>{"en"=>"Jeffmouth2"}, "geom"=>[-34.0, 7.0], "nation_id"=>"IL", "slug"=>"jeffmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MS", "_id"=>"MS", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"Jeffmouth2"}], :_id=>{"$ne"=>BSON::ObjectId('5494c8076d696d535a090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494c8076d696d535a090000')} update={"$set"=>{"nation_id"=>"MS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4348ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4649ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7891ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5676ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malawi"}, "abbr"=>"MP", "_id"=>"MP", "slug"=>"malawi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"fritschchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"fritschchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MP", "$or"=>[{"name.en"=>"Fritschchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"fritschchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"fritschchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MP", "$or"=>[{"name.en"=>"Fritschchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a0a0000'), "name"=>{"en"=>"Fritschchester3"}, "geom"=>[-21.0, -29.0], "nation_id"=>"MP", "slug"=>"fritschchester3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-21.0, -29.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1477ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3874ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sri-lanka"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sri Lanka"}, "abbr"=>"SD", "_id"=>"SD", "slug"=>"sri-lanka"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"legroshaven4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"legroshaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SD", "$or"=>[{"name.en"=>"Legroshaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"legroshaven4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"legroshaven4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SD", "$or"=>[{"name.en"=>"Legroshaven4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a0b0000'), "name"=>{"en"=>"Legroshaven4"}, "geom"=>[-45.0, -7.0], "nation_id"=>"SD", "slug"=>"legroshaven4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-kali0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-kali0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494c8076d696d535a0c0000'), "name"=>{"en"=>"South Kali0"}, "city_id"=>BSON::ObjectId('5494c8076d696d535a0b0000'), "slug"=>"south-kali0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5803ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5783ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"east-sherwoodside1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3649ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"rebecaview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4069ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RR", "_id"=>"RR", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hilllton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hilllton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RR", "$or"=>[{"name.en"=>"Hilllton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hilllton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hilllton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RR", "$or"=>[{"name.en"=>"Hilllton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4012ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb000000'), "name"=>{"en"=>"Hilllton0"}, "geom"=>[-41.0, -28.0], "nation_id"=>"RR", "slug"=>"hilllton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-cielomouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-cielomouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb010000'), "name"=>{"en"=>"North Cielomouth1"}, "city_id"=>BSON::ObjectId('5494c9ee6d696d53cb000000'), "slug"=>"north-cielomouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7746ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9360ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1017ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.8102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6908ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5801ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Singapore"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"singapore"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gerlachhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "$or"=>[{"name.en"=>"Gerlachhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gerlachhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "$or"=>[{"name.en"=>"Gerlachhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6389ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb020000'), "name"=>{"en"=>"Gerlachhaven"}, "abbr"=>"GER", "nation_id"=>"SG", "slug"=>"gerlachhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6939ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nicaragua"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nicaragua"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4486ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Nicaragua"}, "_id"=>"BR", "slug"=>"nicaragua"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.7536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7913ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Netherlands"}, "_id"=>"BR", "slug"=>"netherlands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Falkland Islands (Malvinas)"}, "_id"=>"BR", "slug"=>"falkland-islands-(malvinas)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4128ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3006ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CK", "_id"=>"CK", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3833ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3258ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TA", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494c9ee6d696d53cb040000'), "slug"=>"patopolis", "nation_id"=>"TA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GV", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4136ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494c9ee6d696d53cb050000'), "slug"=>"patopolis-mg", "nation_id"=>"GV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4824ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3638ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jordan"}, "abbr"=>"JF", "_id"=>"JF", "slug"=>"jordan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dereckfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dereckfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JF", "$or"=>[{"name.en"=>"Dereckfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dereckfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dereckfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JF", "$or"=>[{"name.en"=>"Dereckfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb090000'), "name"=>{"en"=>"Dereckfort1"}, "geom"=>[-28.0, -27.0], "nation_id"=>"JF", "slug"=>"dereckfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3883ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5125ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4776ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8976ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3302ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belgium"}, "abbr"=>"BT", "_id"=>"BT", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-candace2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-candace2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"Port Candace2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-candace2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-candace2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BT", "$or"=>[{"name.en"=>"Port Candace2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ee6d696d53cb0a0000'), "name"=>{"en"=>"Port Candace2"}, "geom"=>[-23.0, -19.0], "nation_id"=>"BT", "slug"=>"port-candace2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-23.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4294ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 7.5936ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Hungary"}, "abbr"=>"HT", "_id"=>"HT", "slug"=>"hungary"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"libbyfurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"libbyfurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"Libbyfurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"libbyfurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"libbyfurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"Libbyfurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3725ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ef6d696d53cb0b0000'), "name"=>{"en"=>"Libbyfurt3"}, "geom"=>[-33.0, -17.0], "nation_id"=>"HT", "slug"=>"libbyfurt3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4414ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Anguilla"}, "abbr"=>"AW", "_id"=>"AW", "slug"=>"anguilla"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AW", "$or"=>[{"name.en"=>"Libbyfurt3"}], :_id=>{"$ne"=>BSON::ObjectId('5494c9ef6d696d53cb0b0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5746ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494c9ef6d696d53cb0b0000')} update={"$set"=>{"nation_id"=>"AW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5217ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7205ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3577ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Namibia"}, "abbr"=>"NA", "_id"=>"NA", "slug"=>"namibia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-cristobalfort4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-cristobalfort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NA", "$or"=>[{"name.en"=>"Lake Cristobalfort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-cristobalfort4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-cristobalfort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NA", "$or"=>[{"name.en"=>"Lake Cristobalfort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494c9ef6d696d53cb0c0000'), "name"=>{"en"=>"Lake Cristobalfort4"}, "geom"=>[-49.0, -9.0], "nation_id"=>"NA", "slug"=>"lake-cristobalfort4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Finland"}, "abbr"=>"FR", "_id"=>"FR", "slug"=>"finland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FR", "$or"=>[{"name.en"=>"Lake Cristobalfort4"}], :_id=>{"$ne"=>BSON::ObjectId('5494c9ef6d696d53cb0c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4719ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494c9ef6d696d53cb0c0000')} update={"$set"=>{"nation_id"=>"FR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4462ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5667ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4794ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5384ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RM", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4792ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ca9b6d696d5403010000'), "slug"=>"patopolis", "nation_id"=>"RM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.7534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SJ", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494ca9b6d696d5403020000'), "slug"=>"patopolis-mg", "nation_id"=>"SJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4866ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3357ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Palestinian Territory"}, "abbr"=>"PS", "_id"=>"PS", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"PS", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4476ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-30.0, -2.0], "nation_id"=>"PS", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6653ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8162ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3898ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4946ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guernsey"}, "abbr"=>"GD", "_id"=>"GD", "slug"=>"guernsey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emardmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emardmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GD", "$or"=>[{"name.en"=>"Emardmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emardmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emardmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GD", "$or"=>[{"name.en"=>"Emardmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3365ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403070000'), "name"=>{"en"=>"Emardmouth0"}, "geom"=>[-32.0, -10.0], "nation_id"=>"GD", "slug"=>"emardmouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4449ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5855ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2910ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Trinidad and Tobago"}, "abbr"=>"TQ", "_id"=>"TQ", "slug"=>"trinidad-and-tobago"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"gleasonhaven1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gleasonhaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Gleasonhaven1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"gleasonhaven1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gleasonhaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Gleasonhaven1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3531ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403080000'), "name"=>{"en"=>"Gleasonhaven1"}, "geom"=>[-32.0, -16.0], "nation_id"=>"TQ", "slug"=>"gleasonhaven1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cyprus"}, "abbr"=>"CH", "_id"=>"CH", "slug"=>"cyprus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CH", "$or"=>[{"name.en"=>"Gleasonhaven1"}], :_id=>{"$ne"=>BSON::ObjectId('5494ca9b6d696d5403080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6088ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ca9b6d696d5403080000')} update={"$set"=>{"nation_id"=>"CH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4515ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5837ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3324ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TQ", "_id"=>"TQ", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rohanfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rohanfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Rohanfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rohanfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rohanfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TQ", "$or"=>[{"name.en"=>"Rohanfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4128ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d5403090000'), "name"=>{"en"=>"Rohanfurt2"}, "geom"=>[-29.0, 5.0], "nation_id"=>"TQ", "slug"=>"rohanfurt2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.5306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MC", "_id"=>"MC", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MC", "$or"=>[{"name.en"=>"Rohanfurt2"}], :_id=>{"$ne"=>BSON::ObjectId('5494ca9b6d696d5403090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494ca9b6d696d5403090000')} update={"$set"=>{"nation_id"=>"MC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2878ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3832ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3565ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6004ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1749ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kazakhstan"}, "abbr"=>"KV", "_id"=>"KV", "slug"=>"kazakhstan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-barbara3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-barbara3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KV", "$or"=>[{"name.en"=>"East Barbara3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-barbara3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-barbara3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KV", "$or"=>[{"name.en"=>"East Barbara3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494ca9b6d696d54030a0000'), "name"=>{"en"=>"East Barbara3"}, "geom"=>[-40.0, -4.0], "nation_id"=>"KV", "slug"=>"east-barbara3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-40.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9307ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4642ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Serbia"}, "abbr"=>"SS", "_id"=>"SS", "slug"=>"serbia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-sophiaport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SS", "$or"=>[{"name.en"=>"Lake Sophiaport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-sophiaport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SS", "$or"=>[{"name.en"=>"Lake Sophiaport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494cb216d696d5456000000'), "name"=>{"en"=>"Lake Sophiaport"}, "abbr"=>"LAK", "nation_id"=>"SS", "slug"=>"lake-sophiaport"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8227ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Turkey"}, "_id"=>"BR", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3785ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HT", "_id"=>"HT", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4692ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Micronesia"}, "_id"=>"BR", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4327ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4457ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"El Salvador"}, "_id"=>"BR", "slug"=>"el-salvador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5064ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 17.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4634ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5433ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4354ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5238ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cameroon"}, "abbr"=>"CR", "_id"=>"CR", "slug"=>"cameroon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CR", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CR", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456030000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-50.0, -17.0], "nation_id"=>"CR", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/sao paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4775ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BB", "_id"=>"BB", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-sylvia0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-sylvia0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BB", "$or"=>[{"name.en"=>"West Sylvia0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-sylvia0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-sylvia0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BB", "$or"=>[{"name.en"=>"West Sylvia0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456040000'), "name"=>{"en"=>"West Sylvia0"}, "geom"=>[-32.0, -1.0], "nation_id"=>"BB", "slug"=>"west-sylvia0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3428ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4284ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CJ", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4819ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494cb226d696d5456050000'), "slug"=>"patopolis", "nation_id"=>"CJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"QG", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4357ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494cb226d696d5456060000'), "slug"=>"patopolis-mg", "nation_id"=>"QG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5048ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Trinidad and Tobago"}, "abbr"=>"TS", "_id"=>"TS", "slug"=>"trinidad-and-tobago"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-anika1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-anika1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TS", "$or"=>[{"name.en"=>"East Anika1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-anika1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-anika1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TS", "$or"=>[{"name.en"=>"East Anika1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4472ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d5456090000'), "name"=>{"en"=>"East Anika1"}, "geom"=>[-23.0, -9.0], "nation_id"=>"TS", "slug"=>"east-anika1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"British Indian Ocean Territory (Chagos Archipelago)"}, "abbr"=>"BP", "_id"=>"BP", "slug"=>"british-indian-ocean-territory-(chagos-archipelago)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BP", "$or"=>[{"name.en"=>"East Anika1"}], :_id=>{"$ne"=>BSON::ObjectId('5494cb226d696d5456090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6283ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494cb226d696d5456090000')} update={"$set"=>{"nation_id"=>"BP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7986ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 8.1714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3913ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Venezuela"}, "abbr"=>"VD", "_id"=>"VD", "slug"=>"venezuela"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-ernestinatown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-ernestinatown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VD", "$or"=>[{"name.en"=>"East Ernestinatown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-ernestinatown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-ernestinatown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"VD", "$or"=>[{"name.en"=>"East Ernestinatown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d54560a0000'), "name"=>{"en"=>"East Ernestinatown2"}, "geom"=>[-45.0, -1.0], "nation_id"=>"VD", "slug"=>"east-ernestinatown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montserrat"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montserrat"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4288ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montserrat"}, "abbr"=>"MW", "_id"=>"MW", "slug"=>"montserrat"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MW", "$or"=>[{"name.en"=>"East Ernestinatown2"}], :_id=>{"$ne"=>BSON::ObjectId('5494cb226d696d54560a0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6139ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494cb226d696d54560a0000')} update={"$set"=>{"nation_id"=>"MW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6108ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7522ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4348ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0708ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7009ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3612ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guam"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"guam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cronaport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cronaport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GR", "$or"=>[{"name.en"=>"Cronaport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cronaport3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cronaport3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GR", "$or"=>[{"name.en"=>"Cronaport3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d54560b0000'), "name"=>{"en"=>"Cronaport3"}, "geom"=>[-38.0, 0.0], "nation_id"=>"GR", "slug"=>"cronaport3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-38.0, 0.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5072ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1444ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5763ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kuwait"}, "abbr"=>"KM", "_id"=>"KM", "slug"=>"kuwait"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marshallton4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marshallton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KM", "$or"=>[{"name.en"=>"Marshallton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marshallton4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marshallton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KM", "$or"=>[{"name.en"=>"Marshallton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4861ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cb226d696d54560c0000'), "name"=>{"en"=>"Marshallton4"}, "geom"=>[-40.0, 5.0], "nation_id"=>"KM", "slug"=>"marshallton4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"jeffshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"jeffshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3599ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494cb226d696d54560d0000'), "name"=>{"en"=>"Jeffshire0"}, "city_id"=>BSON::ObjectId('5494cb226d696d54560c0000'), "slug"=>"jeffshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7732ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7753ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.8571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-lawson1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5239ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jordan"}, "abbr"=>"JR", "_id"=>"JR", "slug"=>"jordan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"oranhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JR", "$or"=>[{"name.en"=>"Oranhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"oranhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JR", "$or"=>[{"name.en"=>"Oranhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1000000'), "name"=>{"en"=>"Oranhaven"}, "abbr"=>"ORA", "nation_id"=>"JR", "slug"=>"oranhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3425ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5591ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"AF", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494cd206d696d54c1010000'), "slug"=>"patopolis", "nation_id"=>"AF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MV", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5494cd206d696d54c1020000'), "slug"=>"patopolis-mg", "nation_id"=>"MV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1898ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"holy-see-(vatican-city-state)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"holy-see-(vatican-city-state)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1331ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Holy See (Vatican City State)"}, "abbr"=>"HT", "_id"=>"HT", "slug"=>"holy-see-(vatican-city-state)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"HT", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-27.0, -10.0], "nation_id"=>"HT", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/saopaulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1953ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2809ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jersey"}, "abbr"=>"JN", "_id"=>"JN", "slug"=>"jersey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ortiztown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ortiztown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JN", "$or"=>[{"name.en"=>"Ortiztown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ortiztown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ortiztown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JN", "$or"=>[{"name.en"=>"Ortiztown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1060000'), "name"=>{"en"=>"Ortiztown0"}, "geom"=>[-36.0, -13.0], "nation_id"=>"JN", "slug"=>"ortiztown0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2857ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1868ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1934ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1477ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1369ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MT", "_id"=>"MT", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"townemouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"townemouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MT", "$or"=>[{"name.en"=>"Townemouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"townemouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"townemouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MT", "$or"=>[{"name.en"=>"Townemouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1227ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c1090000'), "name"=>{"en"=>"Townemouth1"}, "geom"=>[-42.0, -16.0], "nation_id"=>"MT", "slug"=>"townemouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1173ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1131ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iceland"}, "abbr"=>"IQ", "_id"=>"IQ", "slug"=>"iceland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IQ", "$or"=>[{"name.en"=>"Townemouth1"}], :_id=>{"$ne"=>BSON::ObjectId('5494cd206d696d54c1090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494cd206d696d54c1090000')} update={"$set"=>{"nation_id"=>"IQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2909ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6880ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"spain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"spain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Spain"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"spain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kovacekland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kovacekland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SO", "$or"=>[{"name.en"=>"Kovacekland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kovacekland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kovacekland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SO", "$or"=>[{"name.en"=>"Kovacekland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c10a0000'), "name"=>{"en"=>"Kovacekland2"}, "geom"=>[-42.0, 3.0], "nation_id"=>"SO", "slug"=>"kovacekland2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montenegro"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"montenegro"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MM", "$or"=>[{"name.en"=>"Kovacekland2"}], :_id=>{"$ne"=>BSON::ObjectId('5494cd206d696d54c10a0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2883ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5494cd206d696d54c10a0000')} update={"$set"=>{"nation_id"=>"MM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2551ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3634ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3309ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5566ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6977ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-nicholas3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-nicholas3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NT", "$or"=>[{"name.en"=>"North Nicholas3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-nicholas3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-nicholas3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NT", "$or"=>[{"name.en"=>"North Nicholas3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c10b0000'), "name"=>{"en"=>"North Nicholas3"}, "geom"=>[-41.0, 2.0], "nation_id"=>"NT", "slug"=>"north-nicholas3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-41.0, 2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9619ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Panama"}, "_id"=>"BR", "slug"=>"panama"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"central-african-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"central-african-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Central African Republic"}, "_id"=>"BR", "slug"=>"central-african-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2899ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Trinidad and Tobago"}, "abbr"=>"TT", "_id"=>"TT", "slug"=>"trinidad-and-tobago"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2462ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Solomon Islands"}, "_id"=>"BR", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3001ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bouvet Island (Bouvetoya)"}, "abbr"=>"BS", "_id"=>"BS", "slug"=>"bouvet-island-(bouvetoya)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-greta4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-greta4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BS", "$or"=>[{"name.en"=>"New Greta4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-greta4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-greta4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BS", "$or"=>[{"name.en"=>"New Greta4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c10c0000'), "name"=>{"en"=>"New Greta4"}, "geom"=>[-36.0, -26.0], "nation_id"=>"BS", "slug"=>"new-greta4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-annemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-annemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5494cd206d696d54c10d0000'), "name"=>{"en"=>"Port Annemouth0"}, "city_id"=>BSON::ObjectId('5494cd206d696d54c10c0000'), "slug"=>"port-annemouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4919ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3824ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-heber1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 20.2901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2717ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Switzerland"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 26.5001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-abigailview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 11.4458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-abigailview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"New Abigailview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-abigailview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-abigailview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"New Abigailview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8000000'), "name"=>{"en"=>"New Abigailview0"}, "geom"=>[-48.0, -30.0], "nation_id"=>"SM", "slug"=>"new-abigailview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 43.1906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7957ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0254ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 28.8961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5087ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malaysia"}, "abbr"=>"MS", "_id"=>"MS", "slug"=>"malaysia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4023ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8010000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-38.0, -10.0], "nation_id"=>"MS", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5268ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6816ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5098ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5781ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8749ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MM", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5292ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a87f6d696d0fb8030000'), "slug"=>"patopolis", "nation_id"=>"MM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"KG", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5825ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a87f6d696d0fb8040000'), "slug"=>"patopolis-mg", "nation_id"=>"KG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4707ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6290ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4138ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malaysia"}, "abbr"=>"MS", "_id"=>"MS", "slug"=>"malaysia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 24.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-archville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-archville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"Lake Archville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-archville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-archville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MS", "$or"=>[{"name.en"=>"Lake Archville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4488ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8080000'), "name"=>{"en"=>"Lake Archville1"}, "geom"=>[-34.0, -16.0], "nation_id"=>"MS", "slug"=>"lake-archville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5254ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NT", "$or"=>[{"name.en"=>"Lake Archville1"}], :_id=>{"$ne"=>BSON::ObjectId('5495a87f6d696d0fb8080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7276ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a87f6d696d0fb8080000')} update={"$set"=>{"nation_id"=>"NT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8731ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4351ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guinea"}, "abbr"=>"GV", "_id"=>"GV", "slug"=>"guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"faustoland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"faustoland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GV", "$or"=>[{"name.en"=>"Faustoland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"faustoland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"faustoland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GV", "$or"=>[{"name.en"=>"Faustoland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3998ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb8090000'), "name"=>{"en"=>"Faustoland2"}, "geom"=>[-21.0, -4.0], "nation_id"=>"GV", "slug"=>"faustoland2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Barthelemy"}, "abbr"=>"SV", "_id"=>"SV", "slug"=>"saint-barthelemy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SV", "$or"=>[{"name.en"=>"Faustoland2"}], :_id=>{"$ne"=>BSON::ObjectId('5495a87f6d696d0fb8090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7350ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a87f6d696d0fb8090000')} update={"$set"=>{"nation_id"=>"SV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6497ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7524ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6572ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0279ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.1976ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3593ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NG", "_id"=>"NG", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"gaylordhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gaylordhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NG", "$or"=>[{"name.en"=>"Gaylordhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"gaylordhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"gaylordhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NG", "$or"=>[{"name.en"=>"Gaylordhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb80a0000'), "name"=>{"en"=>"Gaylordhaven3"}, "geom"=>[-38.0, -1.0], "nation_id"=>"NG", "slug"=>"gaylordhaven3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-38.0, -1.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 15.7535ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 24.4494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 20.5072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BH", "_id"=>"BH", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gutkowskiport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"Gutkowskiport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gutkowskiport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BH", "$or"=>[{"name.en"=>"Gutkowskiport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4182ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb80b0000'), "name"=>{"en"=>"Gutkowskiport"}, "abbr"=>"GUT", "nation_id"=>"BH", "slug"=>"gutkowskiport"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 6.0341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7375ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 3.4353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-johann0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"democratic-people's-republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"democratic-people's-republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Democratic People's Republic of Korea"}, "abbr"=>"DO", "_id"=>"DO", "slug"=>"democratic-people's-republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jerrodchester4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jerrodchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DO", "$or"=>[{"name.en"=>"East Jerrodchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jerrodchester4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jerrodchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"DO", "$or"=>[{"name.en"=>"East Jerrodchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb80c0000'), "name"=>{"en"=>"East Jerrodchester4"}, "geom"=>[-41.0, -4.0], "nation_id"=>"DO", "slug"=>"east-jerrodchester4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"jamirchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"jamirchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5495a87f6d696d0fb80d0000'), "name"=>{"en"=>"Jamirchester1"}, "city_id"=>BSON::ObjectId('5495a87f6d696d0fb80c0000'), "slug"=>"jamirchester1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8380ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7967ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 1.0625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3851ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TP", "_id"=>"TP", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4671ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Nauru"}, "_id"=>"BR", "slug"=>"nauru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Faroe Islands"}, "_id"=>"BR", "slug"=>"faroe-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3582ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4406ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Senegal"}, "_id"=>"BR", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6085ms Overwriting existing field _id in class Nation. Overwriting existing field code in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"weberstad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"reunion"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"reunion"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4398ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Reunion"}, "abbr"=>"RW", "_id"=>"RW", "slug"=>"reunion"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jerelbury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerelbury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RW", "$or"=>[{"name.en"=>"Jerelbury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jerelbury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jerelbury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4874ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"RW", "$or"=>[{"name.en"=>"Jerelbury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5298ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8916d696d0fec000000'), "name"=>{"en"=>"Jerelbury0"}, "geom"=>[-23.0, -14.0], "nation_id"=>"RW", "slug"=>"jerelbury0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-agnesville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-agnesville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4359ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5495a8916d696d0fec010000'), "name"=>{"en"=>"New Agnesville1"}, "city_id"=>BSON::ObjectId('5495a8916d696d0fec000000'), "slug"=>"new-agnesville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7503ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7856ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.7006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Southern Territories"}, "abbr"=>"FQ", "_id"=>"FQ", "slug"=>"french-southern-territories"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"casperbury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FQ", "$or"=>[{"name.en"=>"Casperbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"casperbury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FQ", "$or"=>[{"name.en"=>"Casperbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5495a8916d696d0fec020000'), "name"=>{"en"=>"Casperbury"}, "abbr"=>"CAS", "nation_id"=>"FQ", "slug"=>"casperbury"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6426ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7745ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.8417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4375ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Palestinian Territory"}, "_id"=>"BR", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4958ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5075ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Uzbekistan"}, "_id"=>"BR", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 23.4647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6644ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5275ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Burundi"}, "_id"=>"BR", "slug"=>"burundi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5822ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gambia"}, "abbr"=>"GF", "_id"=>"GF", "slug"=>"gambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5604ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5893ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8916d696d0fec030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5970ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ND"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ND"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4261ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Niger"}, "abbr"=>"ND", "_id"=>"ND", "slug"=>"niger"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ND", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"ND", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5363ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8916d696d0fec040000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-44.0, -5.0], "nation_id"=>"ND", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7699ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9713ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BE", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4531ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a8926d696d0fec060000'), "slug"=>"patopolis", "nation_id"=>"BE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BB", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a8926d696d0fec070000'), "slug"=>"patopolis-mg", "nation_id"=>"BB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6250ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"MB", "_id"=>"MB", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 17.7443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bogisichstad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bogisichstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MB", "$or"=>[{"name.en"=>"Bogisichstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"bogisichstad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"bogisichstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MB", "$or"=>[{"name.en"=>"Bogisichstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5616ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec0a0000'), "name"=>{"en"=>"Bogisichstad1"}, "geom"=>[-35.0, 4.0], "nation_id"=>"MB", "slug"=>"bogisichstad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6490ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9482ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5715ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3037ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0130ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"czech-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"czech-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3981ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Czech Republic"}, "abbr"=>"CQ", "_id"=>"CQ", "slug"=>"czech-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"vergieton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"vergieton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CQ", "$or"=>[{"name.en"=>"Vergieton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"vergieton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4414ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"vergieton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CQ", "$or"=>[{"name.en"=>"Vergieton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4031ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec0b0000'), "name"=>{"en"=>"Vergieton2"}, "geom"=>[-28.0, -13.0], "nation_id"=>"CQ", "slug"=>"vergieton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-28.0, -13.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7537ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.8682ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4003ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Qatar"}, "abbr"=>"QG", "_id"=>"QG", "slug"=>"qatar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-emely3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-emely3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"QG", "$or"=>[{"name.en"=>"Port Emely3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-emely3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-emely3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"QG", "$or"=>[{"name.en"=>"Port Emely3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec0c0000'), "name"=>{"en"=>"Port Emely3"}, "geom"=>[-48.0, 5.0], "nation_id"=>"QG", "slug"=>"port-emely3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MR", "_id"=>"MR", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MR", "$or"=>[{"name.en"=>"Port Emely3"}], :_id=>{"$ne"=>BSON::ObjectId('5495a8926d696d0fec0c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4560ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a8926d696d0fec0c0000')} update={"$set"=>{"nation_id"=>"MR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4258ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5880ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"maldives"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3045ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Maldives"}, "abbr"=>"MU", "_id"=>"MU", "slug"=>"maldives"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kennithfurt4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kennithfurt4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MU", "$or"=>[{"name.en"=>"Kennithfurt4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kennithfurt4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kennithfurt4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MU", "$or"=>[{"name.en"=>"Kennithfurt4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a8926d696d0fec0d0000'), "name"=>{"en"=>"Kennithfurt4"}, "geom"=>[-29.0, 4.0], "nation_id"=>"MU", "slug"=>"kennithfurt4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 18.1606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4773ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lithuania"}, "abbr"=>"LO", "_id"=>"LO", "slug"=>"lithuania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LO", "$or"=>[{"name.en"=>"Kennithfurt4"}], :_id=>{"$ne"=>BSON::ObjectId('5495a8926d696d0fec0d0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6750ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a8926d696d0fec0d0000')} update={"$set"=>{"nation_id"=>"LO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7600ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7673ms Overwriting existing field _id in class Nation. Creating scope :ordered. Overwriting existing method City.ordered. Creating scope :ordered. Overwriting existing method Hood.ordered. Creating scope :ordered. Overwriting existing method Region.ordered. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4539ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Netherlands"}, "_id"=>"BR", "slug"=>"netherlands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4474ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-zealand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-zealand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Zealand"}, "abbr"=>"NL", "_id"=>"NL", "slug"=>"new-zealand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Tuvalu"}, "_id"=>"BR", "slug"=>"tuvalu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mongolia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mongolia"}, "_id"=>"BR", "slug"=>"mongolia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"democratic-people's-republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2859ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8463ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5678ms Creating scope :ordered. Overwriting existing method City.ordered. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4516ms Creating scope :ordered. Overwriting existing method Hood.ordered. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5175ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MR", "_id"=>"MR", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.5912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"kobyborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MR", "$or"=>[{"name.en"=>"Kobyborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"kobyborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MR", "$or"=>[{"name.en"=>"Kobyborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4234ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5495a9696d696d105c000000'), "name"=>{"en"=>"Kobyborough"}, "abbr"=>"KOB", "nation_id"=>"MR", "slug"=>"kobyborough"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6523ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.1716ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 1.0139ms Creating scope :ordered. Overwriting existing method City.ordered. Creating scope :ordered. Overwriting existing method Hood.ordered. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1210ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Zambia"}, "abbr"=>"ZV", "_id"=>"ZV", "slug"=>"zambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"macichester"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ZV", "$or"=>[{"name.en"=>"Macichester"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"macichester"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"ZV", "$or"=>[{"name.en"=>"Macichester"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5495a9766d696d1076000000'), "name"=>{"en"=>"Macichester"}, "abbr"=>"MAC", "nation_id"=>"ZV", "slug"=>"macichester"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4272ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2273ms Creating scope :ordered. Overwriting existing method Hood.ordered. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2578ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GV", "_id"=>"GV", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GV", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"GV", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-43.0, 4.0], "nation_id"=>"GV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1619ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3281ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-arab-emirates"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-arab-emirates"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1269ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United Arab Emirates"}, "abbr"=>"UI", "_id"=>"UI", "slug"=>"united-arab-emirates"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-dashawnville0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-dashawnville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UI", "$or"=>[{"name.en"=>"Lake Dashawnville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-dashawnville0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-dashawnville0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UI", "$or"=>[{"name.en"=>"Lake Dashawnville0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1261ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d030000'), "name"=>{"en"=>"Lake Dashawnville0"}, "geom"=>[-25.0, -5.0], "nation_id"=>"UI", "slug"=>"lake-dashawnville0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2122ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3202ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"NL", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a9886d696d108d040000'), "slug"=>"patopolis", "nation_id"=>"NL"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SM", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a9886d696d108d050000'), "slug"=>"patopolis-mg", "nation_id"=>"SM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.9313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahamas"}, "abbr"=>"BV", "_id"=>"BV", "slug"=>"bahamas"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"johannaview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johannaview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BV", "$or"=>[{"name.en"=>"Johannaview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"johannaview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johannaview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BV", "$or"=>[{"name.en"=>"Johannaview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d080000'), "name"=>{"en"=>"Johannaview1"}, "geom"=>[-44.0, -26.0], "nation_id"=>"BV", "slug"=>"johannaview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Togo"}, "abbr"=>"TK", "_id"=>"TK", "slug"=>"togo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TK", "$or"=>[{"name.en"=>"Johannaview1"}], :_id=>{"$ne"=>BSON::ObjectId('5495a9886d696d108d080000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a9886d696d108d080000')} update={"$set"=>{"nation_id"=>"TK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2784ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WW", "_id"=>"WW", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-jairoside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jairoside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"WW", "$or"=>[{"name.en"=>"Port Jairoside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-jairoside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jairoside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"WW", "$or"=>[{"name.en"=>"Port Jairoside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d090000'), "name"=>{"en"=>"Port Jairoside2"}, "geom"=>[-33.0, -20.0], "nation_id"=>"WW", "slug"=>"port-jairoside2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LB", "_id"=>"LB", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"LB", "$or"=>[{"name.en"=>"Port Jairoside2"}], :_id=>{"$ne"=>BSON::ObjectId('5495a9886d696d108d090000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a9886d696d108d090000')} update={"$set"=>{"nation_id"=>"LB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2408ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3327ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3086ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5342ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SN", "_id"=>"SN", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"estelfurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"estelfurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SN", "$or"=>[{"name.en"=>"Estelfurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"estelfurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"estelfurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SN", "$or"=>[{"name.en"=>"Estelfurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9886d696d108d0a0000'), "name"=>{"en"=>"Estelfurt3"}, "geom"=>[-31.0, -10.0], "nation_id"=>"SN", "slug"=>"estelfurt3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-31.0, -10.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2036ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5022ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"elvaport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"San Marino"}, "abbr"=>"SN", "_id"=>"SN", "slug"=>"san-marino"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-kenya0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-kenya0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SN", "$or"=>[{"name.en"=>"Lake Kenya0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-kenya0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-kenya0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"SN", "$or"=>[{"name.en"=>"Lake Kenya0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4049ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9b46d696d10b0000000'), "name"=>{"en"=>"Lake Kenya0"}, "geom"=>[-22.0, -7.0], "nation_id"=>"SN", "slug"=>"lake-kenya0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"gerholdstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"gerholdstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5495a9b46d696d10b0010000'), "name"=>{"en"=>"Gerholdstad1"}, "city_id"=>BSON::ObjectId('5495a9b46d696d10b0000000'), "slug"=>"gerholdstad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3777ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4873ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5593ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5212ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Faroe Islands"}, "abbr"=>"FP", "_id"=>"FP", "slug"=>"faroe-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"priceburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"priceburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FP", "$or"=>[{"name.en"=>"Priceburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"priceburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"priceburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"FP", "$or"=>[{"name.en"=>"Priceburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9bf6d696d10c6000000'), "name"=>{"en"=>"Priceburgh0"}, "geom"=>[-41.0, 1.0], "nation_id"=>"FP", "slug"=>"priceburgh0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"abbyland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"abbyland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5495a9bf6d696d10c6010000'), "name"=>{"en"=>"Abbyland0"}, "city_id"=>BSON::ObjectId('5495a9bf6d696d10c6000000'), "slug"=>"abbyland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3993ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4366ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-alexanefort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2135ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"estonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Estonia"}, "_id"=>"BR", "slug"=>"estonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"egypt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2300ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Solomon Islands"}, "_id"=>"BR", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.1494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4223ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Anguilla"}, "_id"=>"BR", "slug"=>"anguilla"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4231ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2763ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LK", "_id"=>"LK", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3288ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"koeppshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chile"}, "abbr"=>"CT", "_id"=>"CT", "slug"=>"chile"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-justicetown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-justicetown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"South Justicetown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-justicetown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-justicetown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"South Justicetown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db000000'), "name"=>{"en"=>"South Justicetown0"}, "geom"=>[-47.0, -22.0], "nation_id"=>"CT", "slug"=>"south-justicetown0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"martinehaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"martinehaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db010000'), "name"=>{"en"=>"Martinehaven1"}, "city_id"=>BSON::ObjectId('5495a9c46d696d10db000000'), "slug"=>"martinehaven1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3554ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4494ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5312ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Togo"}, "abbr"=>"TF", "_id"=>"TF", "slug"=>"togo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-shaunland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"North Shaunland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-shaunland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"North Shaunland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3000ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db020000'), "name"=>{"en"=>"North Shaunland"}, "abbr"=>"NOR", "nation_id"=>"TF", "slug"=>"north-shaunland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3893ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3022ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2767ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MB", "_id"=>"MB", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MB", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"MB", "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-49.0, -14.0], "nation_id"=>"MB", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3030ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4498ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"IW", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4059ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a9c46d696d10db060000'), "slug"=>"patopolis", "nation_id"=>"IW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CK", "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5495a9c46d696d10db070000'), "slug"=>"patopolis-mg", "nation_id"=>"CK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3291ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United Kingdom"}, "abbr"=>"UP", "_id"=>"UP", "slug"=>"united-kingdom"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-eryn1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-eryn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UP", "$or"=>[{"name.en"=>"Port Eryn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-eryn1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-eryn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"UP", "$or"=>[{"name.en"=>"Port Eryn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db0a0000'), "name"=>{"en"=>"Port Eryn1"}, "geom"=>[-27.0, 1.0], "nation_id"=>"UP", "slug"=>"port-eryn1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7761ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3696ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6186ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"croatia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"croatia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2824ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3214ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Croatia"}, "abbr"=>"CN", "_id"=>"CN", "slug"=>"croatia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"myratown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"myratown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CN", "$or"=>[{"name.en"=>"Myratown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"myratown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"myratown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CN", "$or"=>[{"name.en"=>"Myratown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4366ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db0b0000'), "name"=>{"en"=>"Myratown2"}, "geom"=>[-35.0, 9.0], "nation_id"=>"CN", "slug"=>"myratown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-35.0, 9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6326ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1636ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2822ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Thailand"}, "abbr"=>"TN", "_id"=>"TN", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"celiaview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"celiaview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TN", "$or"=>[{"name.en"=>"Celiaview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"celiaview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"celiaview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"TN", "$or"=>[{"name.en"=>"Celiaview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4806ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db0c0000'), "name"=>{"en"=>"Celiaview3"}, "geom"=>[-38.0, -6.0], "nation_id"=>"TN", "slug"=>"celiaview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3937ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cuba"}, "abbr"=>"CT", "_id"=>"CT", "slug"=>"cuba"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"CT", "$or"=>[{"name.en"=>"Celiaview3"}], :_id=>{"$ne"=>BSON::ObjectId('5495a9c46d696d10db0c0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4533ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a9c46d696d10db0c0000')} update={"$set"=>{"nation_id"=>"CT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7287ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bouvet Island (Bouvetoya)"}, "abbr"=>"BK", "_id"=>"BK", "slug"=>"bouvet-island-(bouvetoya)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"daughertyport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"daughertyport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BK", "$or"=>[{"name.en"=>"Daughertyport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"daughertyport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"daughertyport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"BK", "$or"=>[{"name.en"=>"Daughertyport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5495a9c46d696d10db0d0000'), "name"=>{"en"=>"Daughertyport4"}, "geom"=>[-39.0, -5.0], "nation_id"=>"BK", "slug"=>"daughertyport4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jordan"}, "abbr"=>"JQ", "_id"=>"JQ", "slug"=>"jordan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"nation_id"=>"JQ", "$or"=>[{"name.en"=>"Daughertyport4"}], :_id=>{"$ne"=>BSON::ObjectId('5495a9c46d696d10db0d0000')}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5575ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5495a9c46d696d10db0d0000')} update={"$set"=>{"nation_id"=>"JQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5152ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6837ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6588ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 21.3265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a0ed6d696d1bb2000000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5439ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ed6d696d1bb2020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a0ed6d696d1bb2000000'), "slug"=>"patopolis", "nation_id"=>"GT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 46.5596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a0ed6d696d1bb2010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5745ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a0ed6d696d1bb2010000'), "slug"=>"patopolis-mg", "nation_id"=>"GQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6609ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 42.6205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5150ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.8416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3914ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Australia"}, "abbr"=>"AH", "_id"=>"AH", "slug"=>"australia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 17.4317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"padbergberg0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"padbergberg0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Padbergberg0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"padbergberg0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"padbergberg0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Padbergberg0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2793ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2050000'), "name"=>{"en"=>"Padbergberg0"}, "geom"=>[-47.0, -2.0], "nation_id"=>"AH", "slug"=>"padbergberg0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 28.1244ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5152ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cape Verde"}, "abbr"=>"CL", "_id"=>"CL", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4827ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2060000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-26.0, -8.0], "nation_id"=>"CL", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5536ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7002ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4471ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6852ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 20.5230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.0713ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5417ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Israel"}, "abbr"=>"IC", "_id"=>"IC", "slug"=>"israel"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kundefurt1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kundefurt1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kundefurt1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kundefurt1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kundefurt1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kundefurt1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4617ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2080000'), "name"=>{"en"=>"Kundefurt1"}, "geom"=>[-38.0, -18.0], "nation_id"=>"IC", "slug"=>"kundefurt1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-38.0, -18.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5271ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 29.2194ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3983ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iceland"}, "abbr"=>"ID", "_id"=>"ID", "slug"=>"iceland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wiegandstad2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wiegandstad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wiegandstad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wiegandstad2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wiegandstad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wiegandstad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5492ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2090000'), "name"=>{"en"=>"Wiegandstad2"}, "geom"=>[-47.0, 9.0], "nation_id"=>"ID", "slug"=>"wiegandstad2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4899ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Seychelles"}, "abbr"=>"SK", "_id"=>"SK", "slug"=>"seychelles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6549ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a0ee6d696d1bb2090000')} update={"$set"=>{"nation_id"=>"SK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7872ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4919ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cayman Islands"}, "abbr"=>"CC", "_id"=>"CC", "slug"=>"cayman-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-ardenfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-ardenfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Ardenfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-ardenfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-ardenfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Ardenfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4973ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb20a0000'), "name"=>{"en"=>"South Ardenfort3"}, "geom"=>[-34.0, -4.0], "nation_id"=>"CC", "slug"=>"south-ardenfort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.9384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5362ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RD", "_id"=>"RD", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7281ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a0ee6d696d1bb20a0000')} update={"$set"=>{"nation_id"=>"RD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6161ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8014ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"alishaview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.1623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Alishaview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IE", "_id"=>"IE", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kolbyburgh4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kolbyburgh4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kolbyburgh4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kolbyburgh4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kolbyburgh4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kolbyburgh4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb20b0000'), "name"=>{"en"=>"Kolbyburgh4"}, "geom"=>[-45.0, -27.0], "nation_id"=>"IE", "slug"=>"kolbyburgh4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"east-ruthie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a0ee6d696d1bb20b0000'), "$or"=>[{"name.en"=>"East Ruthie1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"east-ruthie1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a0ee6d696d1bb20b0000'), "$or"=>[{"name.en"=>"East Ruthie1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb20c0000'), "name"=>{"en"=>"East Ruthie1"}, "city_id"=>BSON::ObjectId('5498a0ee6d696d1bb20b0000'), "slug"=>"east-ruthie1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4287ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5872ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5023ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 39.2504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 9.2078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4913ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Singapore"}, "abbr"=>"SW", "_id"=>"SW", "slug"=>"singapore"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"madelynnville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SW", "$or"=>[{"name.en"=>"Madelynnville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SW", "abbr"=>"MAD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"madelynnville"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SW", "$or"=>[{"name.en"=>"Madelynnville"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SW", "abbr"=>"MAD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5050ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a0ee6d696d1bb20d0000'), "name"=>{"en"=>"Madelynnville"}, "abbr"=>"MAD", "nation_id"=>"SW", "slug"=>"madelynnville"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.7928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6256ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8080ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 1.4271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3356ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RU", "_id"=>"RU", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5024ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4107ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Bouvet Island (Bouvetoya)"}, "_id"=>"BR", "slug"=>"bouvet-island-(bouvetoya)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4884ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Equatorial Guinea"}, "_id"=>"BR", "slug"=>"equatorial-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4269ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2897ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Palestinian Territory"}, "_id"=>"BR", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4111ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5839ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CG", "_id"=>"CG", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-charles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "$or"=>[{"name.en"=>"North Charles"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-charles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "$or"=>[{"name.en"=>"North Charles"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3908ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d000000'), "name"=>{"en"=>"North Charles"}, "abbr"=>"NOR", "nation_id"=>"CG", "slug"=>"north-charles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5764ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7495ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 11.3656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-audreanne0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"North Audreanne0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BA", "_id"=>"BA", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-adelinemouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-adelinemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Adelinemouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-adelinemouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-adelinemouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Adelinemouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d010000'), "name"=>{"en"=>"East Adelinemouth0"}, "geom"=>[-27.0, 5.0], "nation_id"=>"BA", "slug"=>"east-adelinemouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-lambertberg1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a18c6d696d1d5d010000'), "$or"=>[{"name.en"=>"Port Lambertberg1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-lambertberg1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a18c6d696d1d5d010000'), "$or"=>[{"name.en"=>"Port Lambertberg1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3385ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d020000'), "name"=>{"en"=>"Port Lambertberg1"}, "city_id"=>BSON::ObjectId('5498a18c6d696d1d5d010000'), "slug"=>"port-lambertberg1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3838ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4895ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5837ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d030000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3602ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tokelau"}, "abbr"=>"TA", "_id"=>"TA", "slug"=>"tokelau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3824ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d060000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-42.0, 7.0], "nation_id"=>"TA", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4152ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5753ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3628ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CM", "_id"=>"CM", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jonatanbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jonatanbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jonatanbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jonatanbury1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jonatanbury1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jonatanbury1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2870ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d070000'), "name"=>{"en"=>"Jonatanbury1"}, "geom"=>[-32.0, 9.0], "nation_id"=>"CM", "slug"=>"jonatanbury1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5008ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a18c6d696d1d5d080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a18c6d696d1d5d080000'), "slug"=>"patopolis", "nation_id"=>"NA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a18c6d696d1d5d090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a18c6d696d1d5d090000'), "slug"=>"patopolis-mg", "nation_id"=>"CU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3115ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Algeria"}, "abbr"=>"AI", "_id"=>"AI", "slug"=>"algeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-dan2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-dan2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Dan2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-dan2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-dan2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Dan2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4056ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0d0000'), "name"=>{"en"=>"East Dan2"}, "geom"=>[-37.0, -18.0], "nation_id"=>"AI", "slug"=>"east-dan2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.4462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"slovenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0d0000')} update={"$set"=>{"nation_id"=>"SI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4536ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lesotho"}, "abbr"=>"LK", "_id"=>"LK", "slug"=>"lesotho"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emilystad3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emilystad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emilystad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emilystad3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emilystad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emilystad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2317ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0e0000'), "name"=>{"en"=>"Emilystad3"}, "geom"=>[-22.0, -24.0], "nation_id"=>"LK", "slug"=>"emilystad3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nigeria"}, "abbr"=>"NG", "_id"=>"NG", "slug"=>"nigeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0e0000')} update={"$set"=>{"nation_id"=>"NG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3519ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3412ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7056ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HE", "_id"=>"HE", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hobartton4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hobartton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hobartton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hobartton4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hobartton4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hobartton4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a18c6d696d1d5d0f0000'), "name"=>{"en"=>"Hobartton4"}, "geom"=>[-22.0, -4.0], "nation_id"=>"HE", "slug"=>"hobartton4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3110ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7627ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"costa-rica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1385ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Turks and Caicos Islands"}, "_id"=>"BR", "slug"=>"turks-and-caicos-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"latvia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"latvia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Latvia"}, "_id"=>"BR", "slug"=>"latvia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"timor-leste"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"timor-leste"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Timor-Leste"}, "_id"=>"BR", "slug"=>"timor-leste"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2443ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3058ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United States Minor Outlying Islands"}, "abbr"=>"UE", "_id"=>"UE", "slug"=>"united-states-minor-outlying-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-osborneborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-osborneborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Osborneborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-osborneborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-osborneborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Osborneborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da8000000'), "name"=>{"en"=>"East Osborneborough0"}, "geom"=>[-46.0, 1.0], "nation_id"=>"UE", "slug"=>"east-osborneborough0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4817ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a1e16d696d1da8010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da8030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a1e16d696d1da8010000'), "slug"=>"patopolis", "nation_id"=>"SC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 20.5796ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a1e16d696d1da8020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4956ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da8040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a1e16d696d1da8020000'), "slug"=>"patopolis-mg", "nation_id"=>"CM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4484ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3837ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malta"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"malta"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4455ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da8070000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-23.0, -10.0], "nation_id"=>"MJ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4685ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2696ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da8080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3397ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2611ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da80b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3024ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7388ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3551ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antarctica (the territory South of 60 deg S)"}, "abbr"=>"AI", "_id"=>"AI", "slug"=>"antarctica-(the-territory-south-of-60-deg-s)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"melynamouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"melynamouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Melynamouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"melynamouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"melynamouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Melynamouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da80c0000'), "name"=>{"en"=>"Melynamouth1"}, "geom"=>[-29.0, -27.0], "nation_id"=>"AI", "slug"=>"melynamouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, -27.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3772ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Australia"}, "abbr"=>"AT", "_id"=>"AT", "slug"=>"australia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-keenanview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-keenanview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Keenanview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-keenanview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-keenanview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Keenanview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da80d0000'), "name"=>{"en"=>"North Keenanview2"}, "geom"=>[-48.0, -27.0], "nation_id"=>"AT", "slug"=>"north-keenanview2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SJ", "_id"=>"SJ", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6723ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a1e16d696d1da80d0000')} update={"$set"=>{"nation_id"=>"SJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4456ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 8.2850ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guadeloupe"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"guadeloupe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-crystelmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-crystelmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Crystelmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-crystelmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-crystelmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Crystelmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4685ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1e16d696d1da80e0000'), "name"=>{"en"=>"East Crystelmouth3"}, "geom"=>[-23.0, -23.0], "nation_id"=>"GR", "slug"=>"east-crystelmouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Morocco"}, "abbr"=>"MM", "_id"=>"MM", "slug"=>"morocco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4961ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a1e16d696d1da80e0000')} update={"$set"=>{"nation_id"=>"MM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7230ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5167ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc7040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3244ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a1ef6d696d1dc7050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc7070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a1ef6d696d1dc7050000'), "slug"=>"patopolis", "nation_id"=>"UT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a1ef6d696d1dc7060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc7080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a1ef6d696d1dc7060000'), "slug"=>"patopolis-mg", "nation_id"=>"AP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Indonesia"}, "abbr"=>"IL", "_id"=>"IL", "slug"=>"indonesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"breanaton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"breanaton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Breanaton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"breanaton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"breanaton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Breanaton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc7090000'), "name"=>{"en"=>"Breanaton0"}, "geom"=>[-34.0, -16.0], "nation_id"=>"IL", "slug"=>"breanaton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4605ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70a0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2722ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2063ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cambodia"}, "abbr"=>"CV", "_id"=>"CV", "slug"=>"cambodia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70b0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-31.0, -22.0], "nation_id"=>"CV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 9.6442ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1952ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5587ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guernsey"}, "abbr"=>"GO", "_id"=>"GO", "slug"=>"guernsey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-sylvia1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-sylvia1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Sylvia1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-sylvia1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-sylvia1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Sylvia1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4624ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70c0000'), "name"=>{"en"=>"New Sylvia1"}, "geom"=>[-36.0, 8.0], "nation_id"=>"GO", "slug"=>"new-sylvia1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, 8.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3023ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7338ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"spain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"spain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Spain"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"spain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-abner2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-abner2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Abner2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-abner2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-abner2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Abner2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70d0000'), "name"=>{"en"=>"East Abner2"}, "geom"=>[-30.0, 1.0], "nation_id"=>"SI", "slug"=>"east-abner2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Suriname"}, "abbr"=>"SU", "_id"=>"SU", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70d0000')} update={"$set"=>{"nation_id"=>"SU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3199ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4385ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Japan"}, "abbr"=>"JG", "_id"=>"JG", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-justynberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-justynberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Justynberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-justynberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-justynberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Justynberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70e0000'), "name"=>{"en"=>"New Justynberg3"}, "geom"=>[-25.0, 6.0], "nation_id"=>"JG", "slug"=>"new-justynberg3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"barbados"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Barbados"}, "abbr"=>"BK", "_id"=>"BK", "slug"=>"barbados"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2857ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a1ef6d696d1dc70e0000')} update={"$set"=>{"nation_id"=>"BK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2586ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3408ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-zealand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-zealand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5307ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Zealand"}, "abbr"=>"NM", "_id"=>"NM", "slug"=>"new-zealand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5162ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-38.0, -25.0], "nation_id"=>"NM", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5677ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 18.3377ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5063ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a2c16d696d1e6d020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a2c16d696d1e6d020000'), "slug"=>"patopolis", "nation_id"=>"SA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a2c16d696d1e6d030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4134ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a2c16d696d1e6d030000'), "slug"=>"patopolis-mg", "nation_id"=>"RT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4234ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3525ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2858ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ireland"}, "abbr"=>"IO", "_id"=>"IO", "slug"=>"ireland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-aliyashire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-aliyashire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Aliyashire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-aliyashire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-aliyashire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Aliyashire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d090000'), "name"=>{"en"=>"North Aliyashire0"}, "geom"=>[-40.0, -3.0], "nation_id"=>"IO", "slug"=>"north-aliyashire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3686ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4909ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belgium"}, "abbr"=>"BA", "_id"=>"BA", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stanfordborough1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stanfordborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stanfordborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stanfordborough1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stanfordborough1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stanfordborough1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5059ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d0c0000'), "name"=>{"en"=>"Stanfordborough1"}, "geom"=>[-46.0, -28.0], "nation_id"=>"BA", "slug"=>"stanfordborough1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3191ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vietnam"}, "abbr"=>"VQ", "_id"=>"VQ", "slug"=>"vietnam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4369ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a2c16d696d1e6d0c0000')} update={"$set"=>{"nation_id"=>"VQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4140ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5735ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3113ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MH", "_id"=>"MH", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ryleyhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ryleyhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ryleyhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ryleyhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ryleyhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ryleyhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d0d0000'), "name"=>{"en"=>"Ryleyhaven2"}, "geom"=>[-38.0, -24.0], "nation_id"=>"MH", "slug"=>"ryleyhaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cook-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cook-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cook Islands"}, "abbr"=>"CP", "_id"=>"CP", "slug"=>"cook-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.6317ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a2c16d696d1e6d0d0000')} update={"$set"=>{"nation_id"=>"CP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3916ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4893ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4901ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8171ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5753ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belarus"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-pascale3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-pascale3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Pascale3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-pascale3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-pascale3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Pascale3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2c16d696d1e6d0e0000'), "name"=>{"en"=>"East Pascale3"}, "geom"=>[-41.0, 5.0], "nation_id"=>"BU", "slug"=>"east-pascale3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-41.0, 5.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3235ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8342ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3788ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2002ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3591ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NN", "_id"=>"NN", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.2204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"serenityhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"serenityhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Serenityhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"serenityhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"serenityhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Serenityhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2882ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d010000'), "name"=>{"en"=>"Serenityhaven0"}, "geom"=>[-42.0, 4.0], "nation_id"=>"NN", "slug"=>"serenityhaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6347ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a2e76d696d1e9d020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2489ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a2e76d696d1e9d020000'), "slug"=>"patopolis", "nation_id"=>"TA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a2e76d696d1e9d030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2252ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a2e76d696d1e9d030000'), "slug"=>"patopolis-mg", "nation_id"=>"AM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1805ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Yemen"}, "abbr"=>"YF", "_id"=>"YF", "slug"=>"yemen"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d080000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-28.0, -28.0], "nation_id"=>"YF", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3280ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2105ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guernsey"}, "abbr"=>"GJ", "_id"=>"GJ", "slug"=>"guernsey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"beahanville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"beahanville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Beahanville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"beahanville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"beahanville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Beahanville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0c0000'), "name"=>{"en"=>"Beahanville1"}, "geom"=>[-33.0, -17.0], "nation_id"=>"GJ", "slug"=>"beahanville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NV", "_id"=>"NV", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2811ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0c0000')} update={"$set"=>{"nation_id"=>"NV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3447ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Japan"}, "abbr"=>"JQ", "_id"=>"JQ", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"tillmanton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tillmanton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Tillmanton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"tillmanton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"tillmanton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Tillmanton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0d0000'), "name"=>{"en"=>"Tillmanton2"}, "geom"=>[-30.0, -22.0], "nation_id"=>"JQ", "slug"=>"tillmanton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1482ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CA", "_id"=>"CA", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2173ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0d0000')} update={"$set"=>{"nation_id"=>"CA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2822ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4874ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3296ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island-(bouvetoya)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1425ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bouvet Island (Bouvetoya)"}, "abbr"=>"BC", "_id"=>"BC", "slug"=>"bouvet-island-(bouvetoya)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jacobsonside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jacobsonside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jacobsonside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"jacobsonside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"jacobsonside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Jacobsonside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1225ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a2e76d696d1e9d0e0000'), "name"=>{"en"=>"Jacobsonside3"}, "geom"=>[-32.0, 8.0], "nation_id"=>"BC", "slug"=>"jacobsonside3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-32.0, 8.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4778ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2182ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec5040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3384ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a3076d696d1ec5050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec5070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a3076d696d1ec5050000'), "slug"=>"patopolis", "nation_id"=>"SP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a3076d696d1ec5060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2314ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec5080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a3076d696d1ec5060000'), "slug"=>"patopolis-mg", "nation_id"=>"IG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5913ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec5090000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Northern Mariana Islands"}, "abbr"=>"NP", "_id"=>"NP", "slug"=>"northern-mariana-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-camden0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-camden0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Camden0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-camden0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-camden0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Camden0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1849ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec50c0000'), "name"=>{"en"=>"South Camden0"}, "geom"=>[-38.0, -8.0], "nation_id"=>"NP", "slug"=>"south-camden0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2587ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4010ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1590ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Lucia"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"saint-lucia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1822ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec50d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -8.0], "nation_id"=>"SO", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5435ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6783ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6776ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4633ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cyprus"}, "abbr"=>"CH", "_id"=>"CH", "slug"=>"cyprus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-rosinaton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rosinaton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rosinaton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-rosinaton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rosinaton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rosinaton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4939ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec50e0000'), "name"=>{"en"=>"North Rosinaton1"}, "geom"=>[-42.0, -1.0], "nation_id"=>"CH", "slug"=>"north-rosinaton1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-42.0, -1.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3662ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 22.6154ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4069ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chile"}, "abbr"=>"CB", "_id"=>"CB", "slug"=>"chile"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-cheyanne2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-cheyanne2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Cheyanne2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-cheyanne2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-cheyanne2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Cheyanne2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec50f0000'), "name"=>{"en"=>"West Cheyanne2"}, "geom"=>[-22.0, -14.0], "nation_id"=>"CB", "slug"=>"west-cheyanne2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"palestinian-territory"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Palestinian Territory"}, "abbr"=>"PF", "_id"=>"PF", "slug"=>"palestinian-territory"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a3076d696d1ec50f0000')} update={"$set"=>{"nation_id"=>"PF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2870ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3896ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"solomon-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2003ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Solomon Islands"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"solomon-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-elijahchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-elijahchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Elijahchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-elijahchester3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-elijahchester3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Elijahchester3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a3076d696d1ec5100000'), "name"=>{"en"=>"South Elijahchester3"}, "geom"=>[-36.0, -1.0], "nation_id"=>"SP", "slug"=>"south-elijahchester3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Serbia"}, "abbr"=>"SJ", "_id"=>"SJ", "slug"=>"serbia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3030ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a3076d696d1ec5100000')} update={"$set"=>{"nation_id"=>"SJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8020ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7705ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AP", "_id"=>"AP", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5751ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"farrellchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"farrellchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Farrellchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"farrellchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"farrellchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Farrellchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee6000000'), "name"=>{"en"=>"Farrellchester0"}, "geom"=>[-27.0, -30.0], "nation_id"=>"AP", "slug"=>"farrellchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3673ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4078ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"latvia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"latvia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4687ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Latvia"}, "abbr"=>"LI", "_id"=>"LI", "slug"=>"latvia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4440ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee6030000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-42.0, 5.0], "nation_id"=>"LI", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6472ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7070ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a31f6d696d1ee6040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee6060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a31f6d696d1ee6040000'), "slug"=>"patopolis", "nation_id"=>"VW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a31f6d696d1ee6050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee6070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a31f6d696d1ee6050000'), "slug"=>"patopolis-mg", "nation_id"=>"AD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee6080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.4603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6289ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee60b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RM", "_id"=>"RM", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-dillonmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-dillonmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Dillonmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-dillonmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-dillonmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Dillonmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee60c0000'), "name"=>{"en"=>"North Dillonmouth1"}, "geom"=>[-31.0, -2.0], "nation_id"=>"RM", "slug"=>"north-dillonmouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"svalbard-&-jan-mayen-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"svalbard-&-jan-mayen-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3189ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Svalbard & Jan Mayen Islands"}, "abbr"=>"SC", "_id"=>"SC", "slug"=>"svalbard-&-jan-mayen-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4282ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a31f6d696d1ee60c0000')} update={"$set"=>{"nation_id"=>"SC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5272ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Equatorial Guinea"}, "abbr"=>"EG", "_id"=>"EG", "slug"=>"equatorial-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emardhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emardhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emardhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emardhaven2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emardhaven2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emardhaven2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee60d0000'), "name"=>{"en"=>"Emardhaven2"}, "geom"=>[-33.0, -5.0], "nation_id"=>"EG", "slug"=>"emardhaven2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CE", "_id"=>"CE", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3854ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a31f6d696d1ee60d0000')} update={"$set"=>{"nation_id"=>"CE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4196ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6116ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5162ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9303ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UQ", "_id"=>"UQ", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-nolanland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-nolanland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Nolanland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-nolanland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-nolanland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Nolanland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4810ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a31f6d696d1ee60e0000'), "name"=>{"en"=>"Port Nolanland3"}, "geom"=>[-30.0, -21.0], "nation_id"=>"UQ", "slug"=>"port-nolanland3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-30.0, -21.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5647ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2763ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4328ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5000ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BB", "_id"=>"BB", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jaydon0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jaydon0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Jaydon0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-jaydon0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-jaydon0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Jaydon0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f09000000'), "name"=>{"en"=>"East Jaydon0"}, "geom"=>[-46.0, -2.0], "nation_id"=>"BB", "slug"=>"east-jaydon0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7589ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8840ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HV", "_id"=>"HV", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3976ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f09010000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-28.0, -2.0], "nation_id"=>"HV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5105ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5895ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3614ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a33b6d696d1f09080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a33b6d696d1f09080000'), "slug"=>"patopolis", "nation_id"=>"IA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a33b6d696d1f09090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a33b6d696d1f09090000'), "slug"=>"patopolis-mg", "nation_id"=>"BW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3366ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090c0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3174ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RS", "_id"=>"RS", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-destiny1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-destiny1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Destiny1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-destiny1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-destiny1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Destiny1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2254ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090e0000'), "name"=>{"en"=>"West Destiny1"}, "geom"=>[-34.0, -17.0], "nation_id"=>"RS", "slug"=>"west-destiny1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UF", "_id"=>"UF", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a33b6d696d1f090e0000')} update={"$set"=>{"nation_id"=>"UF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4261ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6799ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2142ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Indonesia"}, "abbr"=>"IP", "_id"=>"IP", "slug"=>"indonesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schultzfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schultzfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2171ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schultzfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schultzfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schultzfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schultzfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f090f0000'), "name"=>{"en"=>"Schultzfurt2"}, "geom"=>[-45.0, -4.0], "nation_id"=>"IP", "slug"=>"schultzfurt2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands"}, "abbr"=>"NR", "_id"=>"NR", "slug"=>"netherlands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6263ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a33b6d696d1f090f0000')} update={"$set"=>{"nation_id"=>"NR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7752ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7962ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3542ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BF", "_id"=>"BF", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-peggie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-peggie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Peggie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-peggie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-peggie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Peggie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a33b6d696d1f09100000'), "name"=>{"en"=>"West Peggie3"}, "geom"=>[-27.0, 7.0], "nation_id"=>"BF", "slug"=>"west-peggie3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-27.0, 7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9926ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5012ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3510ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Syrian Arab Republic"}, "abbr"=>"SW", "_id"=>"SW", "slug"=>"syrian-arab-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"reneeview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4003ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"reneeview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Reneeview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"reneeview0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"reneeview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Reneeview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe2000000'), "name"=>{"en"=>"Reneeview0"}, "geom"=>[-30.0, -12.0], "nation_id"=>"SW", "slug"=>"reneeview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4277ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5985ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1970ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe2010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2477ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe2020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2822ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4086d696d1fe2070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe2090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4086d696d1fe2070000'), "slug"=>"patopolis", "nation_id"=>"LN"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4086d696d1fe2080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe20a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4086d696d1fe2080000'), "slug"=>"patopolis-mg", "nation_id"=>"LR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belarus"}, "abbr"=>"BP", "_id"=>"BP", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe20d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-23.0, 5.0], "nation_id"=>"BP", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7900ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7511ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 20.5378ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6555ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2997ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HL", "_id"=>"HL", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-alysashire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-alysashire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Alysashire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-alysashire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-alysashire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Alysashire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5043ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4086d696d1fe20e0000'), "name"=>{"en"=>"Port Alysashire1"}, "geom"=>[-38.0, -14.0], "nation_id"=>"HL", "slug"=>"port-alysashire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-38.0, -14.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5857ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3885ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RD", "_id"=>"RD", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"oswaldfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"oswaldfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Oswaldfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"oswaldfurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"oswaldfurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Oswaldfurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3128ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4096d696d1fe20f0000'), "name"=>{"en"=>"Oswaldfurt2"}, "geom"=>[-23.0, -22.0], "nation_id"=>"RD", "slug"=>"oswaldfurt2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"MQ", "_id"=>"MQ", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4147ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4096d696d1fe20f0000')} update={"$set"=>{"nation_id"=>"MQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5015ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-pierre-and-miquelon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Pierre and Miquelon"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"saint-pierre-and-miquelon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nicolas3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nicolas3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nicolas3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nicolas3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nicolas3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nicolas3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4096d696d1fe2100000'), "name"=>{"en"=>"Lake Nicolas3"}, "geom"=>[-42.0, -30.0], "nation_id"=>"SG", "slug"=>"lake-nicolas3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kiribati"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kiribati"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kiribati"}, "abbr"=>"KK", "_id"=>"KK", "slug"=>"kiribati"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4096d696d1fe2100000')} update={"$set"=>{"nation_id"=>"KK"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3292ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4402ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4290ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1159ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"NP", "_id"=>"NP", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"annaliseside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"annaliseside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Annaliseside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"annaliseside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"annaliseside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Annaliseside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e040000'), "name"=>{"en"=>"Annaliseside0"}, "geom"=>[-41.0, -20.0], "nation_id"=>"NP", "slug"=>"annaliseside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3272ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4476d696d203e050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1328ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4476d696d203e050000'), "slug"=>"patopolis", "nation_id"=>"HH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4476d696d203e060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1367ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4476d696d203e060000'), "slug"=>"patopolis-mg", "nation_id"=>"SI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1563ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1221ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IU", "_id"=>"IU", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e090000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-24.0, -15.0], "nation_id"=>"IU", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1587ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2259ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e0a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1531ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1461ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e0b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3408ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PB", "_id"=>"PB", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-abner1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-abner1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Abner1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-abner1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-abner1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Abner1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e0e0000'), "name"=>{"en"=>"East Abner1"}, "geom"=>[-36.0, -18.0], "nation_id"=>"PB", "slug"=>"east-abner1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.6504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greenland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greenland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Greenland"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"greenland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4476d696d203e0e0000')} update={"$set"=>{"nation_id"=>"GR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2758ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3639ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tokelau"}, "abbr"=>"TU", "_id"=>"TU", "slug"=>"tokelau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-elbertside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-elbertside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Elbertside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-elbertside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-elbertside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Elbertside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e0f0000'), "name"=>{"en"=>"Lake Elbertside2"}, "geom"=>[-32.0, -30.0], "nation_id"=>"TU", "slug"=>"lake-elbertside2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iraq"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iraq"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1568ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iraq"}, "abbr"=>"IF", "_id"=>"IF", "slug"=>"iraq"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2306ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4476d696d203e0f0000')} update={"$set"=>{"nation_id"=>"IF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3048ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3238ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5419ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3783ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HW", "_id"=>"HW", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"maggioshire3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3061ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"maggioshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Maggioshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"maggioshire3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"maggioshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Maggioshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1870ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4476d696d203e100000'), "name"=>{"en"=>"Maggioshire3"}, "geom"=>[-31.0, -19.0], "nation_id"=>"HW", "slug"=>"maggioshire3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-31.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6486ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1742ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mozambique"}, "_id"=>"BR", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"cordiafurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Cordiafurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"cordiafurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2754ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Cordiafurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1878ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061000000'), "abbr"=>"MG", "name"=>{"en"=>"Cordiafurt"}, "nation_id"=>"BR", "slug"=>"cordiafurt"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2868ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3893ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1784ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lithuania"}, "abbr"=>"LG", "_id"=>"LG", "slug"=>"lithuania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-karlee0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-karlee0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Karlee0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-karlee0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-karlee0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Karlee0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1370ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061030000'), "name"=>{"en"=>"North Karlee0"}, "geom"=>[-21.0, -18.0], "nation_id"=>"LG", "slug"=>"north-karlee0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1900ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2463ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2254ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3816ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Niger"}, "abbr"=>"NV", "_id"=>"NV", "slug"=>"niger"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-26.0, -30.0], "nation_id"=>"NV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2531ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4616d696d20610a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1839ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d20610c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4616d696d20610a0000'), "slug"=>"patopolis", "nation_id"=>"IF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4616d696d20610b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d20610d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4616d696d20610b0000'), "slug"=>"patopolis-mg", "nation_id"=>"GD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 17.7741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2842ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Colombia"}, "abbr"=>"CU", "_id"=>"CU", "slug"=>"colombia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-jairofort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-jairofort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Jairofort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-jairofort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-jairofort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Jairofort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d20610e0000'), "name"=>{"en"=>"Lake Jairofort1"}, "geom"=>[-41.0, 2.0], "nation_id"=>"CU", "slug"=>"lake-jairofort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BS", "_id"=>"BS", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4616d696d20610e0000')} update={"$set"=>{"nation_id"=>"BS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2287ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3270ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Switzerland"}, "abbr"=>"SN", "_id"=>"SN", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lafayetteville2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lafayetteville2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lafayetteville2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lafayetteville2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lafayetteville2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lafayetteville2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d20610f0000'), "name"=>{"en"=>"Lafayetteville2"}, "geom"=>[-32.0, 7.0], "nation_id"=>"SN", "slug"=>"lafayetteville2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Andorra"}, "abbr"=>"AT", "_id"=>"AT", "slug"=>"andorra"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4616d696d20610f0000')} update={"$set"=>{"nation_id"=>"AT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3375ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8694ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9031ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belize"}, "abbr"=>"BD", "_id"=>"BD", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dedrickfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dedrickfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dedrickfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dedrickfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dedrickfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dedrickfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4616d696d2061100000'), "name"=>{"en"=>"Dedrickfort3"}, "geom"=>[-43.0, -9.0], "nation_id"=>"BD", "slug"=>"dedrickfort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-43.0, -9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7957ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3894ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AJ", "_id"=>"AJ", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083040000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-35.0, 3.0], "nation_id"=>"AJ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3918ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5284ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2280ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2733ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2251ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-polynesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"French Polynesia"}, "_id"=>"BR", "slug"=>"french-polynesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-betheltown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"West Betheltown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-betheltown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"West Betheltown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083070000'), "abbr"=>"MG", "name"=>{"en"=>"West Betheltown"}, "nation_id"=>"BR", "slug"=>"west-betheltown"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.2580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3510ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3815ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2356ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BS", "_id"=>"BS", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"idabury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"idabury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Idabury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"idabury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"idabury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Idabury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083090000'), "name"=>{"en"=>"Idabury0"}, "geom"=>[-28.0, 5.0], "nation_id"=>"BS", "slug"=>"idabury0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3145ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4263ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4796d696d20830a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2844ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d20830c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4796d696d20830a0000'), "slug"=>"patopolis", "nation_id"=>"IK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a4796d696d20830b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2250ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d20830d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a4796d696d20830b0000'), "slug"=>"patopolis-mg", "nation_id"=>"SK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3315ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5611ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3966ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1237ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SR", "_id"=>"SR", "slug"=>"slovenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"amberfurt1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"amberfurt1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Amberfurt1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"amberfurt1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"amberfurt1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Amberfurt1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1700ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d20830e0000'), "name"=>{"en"=>"Amberfurt1"}, "geom"=>[-24.0, -2.0], "nation_id"=>"SR", "slug"=>"amberfurt1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5954ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Burundi"}, "abbr"=>"BI", "_id"=>"BI", "slug"=>"burundi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-eryn2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-eryn2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Eryn2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-eryn2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-eryn2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Eryn2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d20830f0000'), "name"=>{"en"=>"New Eryn2"}, "geom"=>[-23.0, -22.0], "nation_id"=>"BI", "slug"=>"new-eryn2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5578ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovakia (Slovak Republic)"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"slovakia-(slovak-republic)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9014ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4796d696d20830f0000')} update={"$set"=>{"nation_id"=>"SI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2950ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1704ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tuvalu"}, "abbr"=>"TA", "_id"=>"TA", "slug"=>"tuvalu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cruzfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruzfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruzfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cruzfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruzfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruzfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1737ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a4796d696d2083100000'), "name"=>{"en"=>"Cruzfort3"}, "geom"=>[-25.0, -9.0], "nation_id"=>"TA", "slug"=>"cruzfort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1164ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1844ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a4796d696d2083100000')} update={"$set"=>{"nation_id"=>"MJ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2101ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3031ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2689ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"equatorial-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3024ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Equatorial Guinea"}, "_id"=>"BR", "slug"=>"equatorial-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"czech-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4191ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"russian-federation"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2995ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"El Salvador"}, "abbr"=>"EK", "_id"=>"EK", "slug"=>"el-salvador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 10.6841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2901ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "_id"=>"BR", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Monaco"}, "_id"=>"BR", "slug"=>"monaco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2923ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3796ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Uganda"}, "_id"=>"BR", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2459ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greece"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2908ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1693ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Malta"}, "_id"=>"BR", "slug"=>"malta"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2004ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4251ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Kyrgyz Republic"}, "_id"=>"BR", "slug"=>"kyrgyz-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jamaica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1543ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AH", "_id"=>"AH", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1724ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2386ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.5395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nigeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4491ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Nigeria"}, "_id"=>"BR", "slug"=>"nigeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"russian-federation"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6039ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3495ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Lebanon"}, "_id"=>"BR", "slug"=>"lebanon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4799ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3719ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Congo"}, "_id"=>"BR", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4034ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2375ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Panama"}, "abbr"=>"PW", "_id"=>"PW", "slug"=>"panama"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4001ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4862ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Belgium"}, "_id"=>"BR", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"spain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"rwanda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Rwanda"}, "_id"=>"BR", "slug"=>"rwanda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VV", "_id"=>"VV", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.8230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2518ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"taiwan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Taiwan"}, "_id"=>"BR", "slug"=>"taiwan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3926ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a5020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4546ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Myanmar"}, "abbr"=>"MF", "_id"=>"MF", "slug"=>"myanmar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a5030000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-24.0, -25.0], "nation_id"=>"MF", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4451ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7040ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norway"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norway"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3785ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norway"}, "abbr"=>"NS", "_id"=>"NS", "slug"=>"norway"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-lucyhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-lucyhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Lucyhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-lucyhaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-lucyhaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Lucyhaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a5060000'), "name"=>{"en"=>"North Lucyhaven0"}, "geom"=>[-50.0, -30.0], "nation_id"=>"NS", "slug"=>"north-lucyhaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.5695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8995ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a5446d696d21a5070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5452ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a5090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a5446d696d21a5070000'), "slug"=>"patopolis", "nation_id"=>"PE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a5446d696d21a5080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4613ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a50a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a5446d696d21a5080000'), "slug"=>"patopolis-mg", "nation_id"=>"TI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6145ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4300ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4446ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a50b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7975ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mozambique"}, "_id"=>"BR", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"deckowton"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Deckowton"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"deckowton"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Deckowton"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3845ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a50c0000'), "abbr"=>"MG", "name"=>{"en"=>"Deckowton"}, "nation_id"=>"BR", "slug"=>"deckowton"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6259ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7667ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4669ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Namibia"}, "abbr"=>"NE", "_id"=>"NE", "slug"=>"namibia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-kelliland1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-kelliland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Kelliland1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-kelliland1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-kelliland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Kelliland1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4908ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a50e0000'), "name"=>{"en"=>"West Kelliland1"}, "geom"=>[-39.0, 9.0], "nation_id"=>"NE", "slug"=>"west-kelliland1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4761ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MW", "_id"=>"MW", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6820ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a5446d696d21a50e0000')} update={"$set"=>{"nation_id"=>"MW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5976ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7236ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SE", "_id"=>"SE", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kianafurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kianafurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kianafurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kianafurt2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kianafurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kianafurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a50f0000'), "name"=>{"en"=>"Kianafurt2"}, "geom"=>[-42.0, -20.0], "nation_id"=>"SE", "slug"=>"kianafurt2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.5394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mozambique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2809ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mozambique"}, "abbr"=>"MD", "_id"=>"MD", "slug"=>"mozambique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4765ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a5446d696d21a50f0000')} update={"$set"=>{"nation_id"=>"MD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6078ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8386ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5822ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2805ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AE", "_id"=>"AE", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-gerardoville3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-gerardoville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Gerardoville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-gerardoville3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-gerardoville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Gerardoville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a5446d696d21a5100000'), "name"=>{"en"=>"New Gerardoville3"}, "geom"=>[-39.0, -15.0], "nation_id"=>"AE", "slug"=>"new-gerardoville3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-39.0, -15.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3879ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0189ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4285ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guam"}, "_id"=>"BR", "slug"=>"guam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6715ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"falkland-islands-(malvinas)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3926ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Thailand"}, "_id"=>"BR", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3084ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Myanmar"}, "_id"=>"BR", "slug"=>"myanmar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3054ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RL", "_id"=>"RL", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 12.8097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3793ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Yemen"}, "_id"=>"BR", "slug"=>"yemen"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2226ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2002ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"azerbaijan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Azerbaijan"}, "_id"=>"BR", "slug"=>"azerbaijan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"karellebury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Karellebury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"karellebury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Karellebury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc000000'), "abbr"=>"MG", "name"=>{"en"=>"Karellebury"}, "nation_id"=>"BR", "slug"=>"karellebury"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.4680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6738ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8736ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Japan"}, "abbr"=>"JO", "_id"=>"JO", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-31.0, -2.0], "nation_id"=>"JO", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4549ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-rupertchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rupertchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rupertchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-rupertchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-rupertchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Rupertchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc030000'), "name"=>{"en"=>"North Rupertchester0"}, "geom"=>[-33.0, -27.0], "nation_id"=>"SP", "slug"=>"north-rupertchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5808ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3807ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc070000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2529ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a6b06d696d22cc0a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc0c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a6b06d696d22cc0a0000'), "slug"=>"patopolis", "nation_id"=>"MW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a6b06d696d22cc0b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2075ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc0d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a6b06d696d22cc0b0000'), "slug"=>"patopolis-mg", "nation_id"=>"QE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Indonesia"}, "abbr"=>"IN", "_id"=>"IN", "slug"=>"indonesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"muellerview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"muellerview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Muellerview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"muellerview1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"muellerview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Muellerview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc0e0000'), "name"=>{"en"=>"Muellerview1"}, "geom"=>[-37.0, -17.0], "nation_id"=>"IN", "slug"=>"muellerview1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Germany"}, "abbr"=>"GG", "_id"=>"GG", "slug"=>"germany"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a6b06d696d22cc0e0000')} update={"$set"=>{"nation_id"=>"GG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2431ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3128ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1537ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GD", "_id"=>"GD", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"winonaburgh2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"winonaburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Winonaburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"winonaburgh2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"winonaburgh2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Winonaburgh2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1600ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc0f0000'), "name"=>{"en"=>"Winonaburgh2"}, "geom"=>[-22.0, 3.0], "nation_id"=>"GD", "slug"=>"winonaburgh2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3658ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Seychelles"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"seychelles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a6b06d696d22cc0f0000')} update={"$set"=>{"nation_id"=>"SG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3670ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3600ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6234ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5404ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4581ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kyrgyz Republic"}, "abbr"=>"KR", "_id"=>"KR", "slug"=>"kyrgyz-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-nick3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-nick3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Nick3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-nick3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-nick3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Nick3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2038ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6b06d696d22cc100000'), "name"=>{"en"=>"Port Nick3"}, "geom"=>[-42.0, -4.0], "nation_id"=>"KR", "slug"=>"port-nick3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.9933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-42.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3542ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8633ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2357ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Algeria"}, "_id"=>"BR", "slug"=>"algeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-guido"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Guido"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-guido"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Guido"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3313ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314000000'), "abbr"=>"MG", "name"=>{"en"=>"North Guido"}, "nation_id"=>"BR", "slug"=>"north-guido"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4621ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6543ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2718ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3303ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3085ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AC", "_id"=>"AC", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ransomchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ransomchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Ransomchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ransomchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ransomchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Ransomchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314050000'), "name"=>{"en"=>"Lake Ransomchester0"}, "geom"=>[-42.0, -15.0], "nation_id"=>"AC", "slug"=>"lake-ransomchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4151ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1957ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Panama"}, "abbr"=>"PP", "_id"=>"PP", "slug"=>"panama"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314060000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-24.0, 6.0], "nation_id"=>"PP", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2663ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3663ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 14.7011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314090000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a6fd6d696d23140a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3119ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d23140c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a6fd6d696d23140a0000'), "slug"=>"patopolis", "nation_id"=>"FM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a6fd6d696d23140b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d23140d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a6fd6d696d23140b0000'), "slug"=>"patopolis-mg", "nation_id"=>"GR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MW", "_id"=>"MW", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-aliyah1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-aliyah1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Aliyah1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-aliyah1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-aliyah1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Aliyah1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2344ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d23140e0000'), "name"=>{"en"=>"West Aliyah1"}, "geom"=>[-35.0, -5.0], "nation_id"=>"MW", "slug"=>"west-aliyah1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6454ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Papua New Guinea"}, "abbr"=>"PC", "_id"=>"PC", "slug"=>"papua-new-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4043ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a6fd6d696d23140e0000')} update={"$set"=>{"nation_id"=>"PC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4043ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5319ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"venezuela"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2654ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2648ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Venezuela"}, "abbr"=>"VS", "_id"=>"VS", "slug"=>"venezuela"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-mellie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-mellie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Mellie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-mellie2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-mellie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Mellie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d23140f0000'), "name"=>{"en"=>"South Mellie2"}, "geom"=>[-43.0, -28.0], "nation_id"=>"VS", "slug"=>"south-mellie2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Serbia"}, "abbr"=>"SU", "_id"=>"SU", "slug"=>"serbia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3475ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a6fd6d696d23140f0000')} update={"$set"=>{"nation_id"=>"SU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3373ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4582ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5478ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9333ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6236ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ND"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands-antilles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ND"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2815ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands Antilles"}, "abbr"=>"ND", "_id"=>"ND", "slug"=>"netherlands-antilles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abshirefurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abshirefurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Abshirefurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abshirefurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abshirefurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Abshirefurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3167ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a6fd6d696d2314100000'), "name"=>{"en"=>"Abshirefurt3"}, "geom"=>[-27.0, -15.0], "nation_id"=>"ND", "slug"=>"abshirefurt3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-27.0, -15.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9886ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4648ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a70d6d696d2330000000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3391ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a70d6d696d2330000000'), "slug"=>"patopolis", "nation_id"=>"LF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a70d6d696d2330010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4444ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a70d6d696d2330010000'), "slug"=>"patopolis-mg", "nation_id"=>"GW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.4021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4913ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3648ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4567ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chad"}, "abbr"=>"CU", "_id"=>"CU", "slug"=>"chad"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330070000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-46.0, -16.0], "nation_id"=>"CU", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6202ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"montenegro"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Montenegro"}, "abbr"=>"MH", "_id"=>"MH", "slug"=>"montenegro"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-dariana0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-dariana0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Dariana0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-dariana0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-dariana0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Dariana0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330080000'), "name"=>{"en"=>"Port Dariana0"}, "geom"=>[-45.0, -24.0], "nation_id"=>"MH", "slug"=>"port-dariana0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4564ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Cape Verde"}, "_id"=>"BR", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"rileybury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2896ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Rileybury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"rileybury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Rileybury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d23300a0000'), "abbr"=>"MG", "name"=>{"en"=>"Rileybury"}, "nation_id"=>"BR", "slug"=>"rileybury"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4072ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2925ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Yemen"}, "abbr"=>"YU", "_id"=>"YU", "slug"=>"yemen"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-esta1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-esta1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Esta1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-esta1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-esta1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Esta1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d23300e0000'), "name"=>{"en"=>"New Esta1"}, "geom"=>[-24.0, -2.0], "nation_id"=>"YU", "slug"=>"new-esta1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cameroon"}, "abbr"=>"CA", "_id"=>"CA", "slug"=>"cameroon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a70d6d696d23300e0000')} update={"$set"=>{"nation_id"=>"CA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4406ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5566ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"eritrea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Eritrea"}, "abbr"=>"EE", "_id"=>"EE", "slug"=>"eritrea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-erichshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-erichshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Erichshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-erichshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-erichshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Erichshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2500ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d23300f0000'), "name"=>{"en"=>"East Erichshire2"}, "geom"=>[-22.0, 8.0], "nation_id"=>"EE", "slug"=>"east-erichshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.8487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AL", "_id"=>"AL", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a70d6d696d23300f0000')} update={"$set"=>{"nation_id"=>"AL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3473ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4821ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2628ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8987ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cape-verde"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2242ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cape Verde"}, "abbr"=>"CD", "_id"=>"CD", "slug"=>"cape-verde"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristin3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristin3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Kristin3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristin3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristin3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Kristin3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a70d6d696d2330100000'), "name"=>{"en"=>"North Kristin3"}, "geom"=>[-36.0, -4.0], "nation_id"=>"CD", "slug"=>"north-kristin3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7856ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3871ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4784ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Antarctica (the territory South of 60 deg S)"}, "_id"=>"BR", "slug"=>"antarctica-(the-territory-south-of-60-deg-s)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-tessieland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"East Tessieland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-tessieland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"East Tessieland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4333ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7496d696d236d000000'), "abbr"=>"MG", "name"=>{"en"=>"East Tessieland"}, "nation_id"=>"BR", "slug"=>"east-tessieland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 10.7793ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6411ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8835ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.8233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7496d696d236d020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7496d696d236d030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bangladesh"}, "abbr"=>"BS", "_id"=>"BS", "slug"=>"bangladesh"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2514ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovenia"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"slovenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brettfurt0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brettfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brettfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brettfurt0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brettfurt0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brettfurt0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3057ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4004ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5288ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"El Salvador"}, "abbr"=>"EK", "_id"=>"EK", "slug"=>"el-salvador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"deckowport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"deckowport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Deckowport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"deckowport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"deckowport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Deckowport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2413ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7074ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Thailand"}, "abbr"=>"TS", "_id"=>"TS", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-lilian2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-lilian2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Lilian2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-lilian2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-lilian2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Lilian2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2541ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"paraguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2061ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Paraguay"}, "abbr"=>"PE", "_id"=>"PE", "slug"=>"paraguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"johnstonmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johnstonmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Johnstonmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"johnstonmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"johnstonmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Johnstonmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3046ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"wallis-and-futuna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Wallis and Futuna"}, "abbr"=>"WV", "_id"=>"WV", "slug"=>"wallis-and-futuna"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 9.2742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mauritius"}, "_id"=>"BR", "slug"=>"mauritius"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"tremblaymouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Tremblaymouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"tremblaymouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Tremblaymouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2669ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a75d6d696d238c030000'), "abbr"=>"MG", "name"=>{"en"=>"Tremblaymouth"}, "nation_id"=>"BR", "slug"=>"tremblaymouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7390ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4615ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kiribati"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kiribati"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kiribati"}, "abbr"=>"KO", "_id"=>"KO", "slug"=>"kiribati"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-danny0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-danny0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Danny0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-danny0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-danny0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Danny0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a75d6d696d238c070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a75d6d696d238c080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2653ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Honduras"}, "abbr"=>"HM", "_id"=>"HM", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-arloton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-arloton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Arloton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-arloton1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-arloton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Arloton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3728ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turks and Caicos Islands"}, "abbr"=>"TO", "_id"=>"TO", "slug"=>"turks-and-caicos-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"juvenalside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juvenalside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2414ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Juvenalside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"juvenalside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"juvenalside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Juvenalside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3442ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4482ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7770ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4718ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cocos-(keeling)-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cocos-(keeling)-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2380ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cocos (Keeling) Islands"}, "abbr"=>"CN", "_id"=>"CN", "slug"=>"cocos-(keeling)-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5696ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"santinofurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"santinofurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Santinofurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"santinofurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"santinofurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Santinofurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2587ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 9.9350ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.2235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4677ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8169ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5271ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GM", "_id"=>"GM", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.4205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3775ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a1020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-45.0, -24.0], "nation_id"=>"GM", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4645ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6165ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a1030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3378ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4366ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Canada"}, "_id"=>"BR", "slug"=>"canada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"howellview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Howellview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"howellview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Howellview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a1040000'), "abbr"=>"MG", "name"=>{"en"=>"Howellview"}, "nation_id"=>"BR", "slug"=>"howellview"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 3.1210ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7616d696d23a1080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7616d696d23a1080000'), "slug"=>"patopolis", "nation_id"=>"TA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7616d696d23a1090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3843ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7616d696d23a1090000'), "slug"=>"patopolis-mg", "nation_id"=>"GE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10c0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3012ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GD", "_id"=>"GD", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernserchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernserchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernserchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernserchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernserchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernserchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10d0000'), "name"=>{"en"=>"Ernserchester0"}, "geom"=>[-31.0, -28.0], "nation_id"=>"GD", "slug"=>"ernserchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3842ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6221ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lesotho"}, "abbr"=>"LS", "_id"=>"LS", "slug"=>"lesotho"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-jordytown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3328ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jordytown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jordytown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-jordytown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-jordytown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Jordytown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5678ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10e0000'), "name"=>{"en"=>"Port Jordytown1"}, "geom"=>[-24.0, -14.0], "nation_id"=>"LS", "slug"=>"port-jordytown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -14.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4094ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9512ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sierra-leone"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sierra-leone"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2919ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sierra Leone"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"sierra-leone"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-erichtown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-erichtown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Erichtown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-erichtown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3754ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-erichtown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Erichtown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3859ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a10f0000'), "name"=>{"en"=>"West Erichtown2"}, "geom"=>[-49.0, -19.0], "nation_id"=>"SA", "slug"=>"west-erichtown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PE", "_id"=>"PE", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4487ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7616d696d23a10f0000')} update={"$set"=>{"nation_id"=>"PE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5429ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5607ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United States Minor Outlying Islands"}, "abbr"=>"UK", "_id"=>"UK", "slug"=>"united-states-minor-outlying-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-josiahborough3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-josiahborough3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Josiahborough3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-josiahborough3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-josiahborough3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Josiahborough3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7616d696d23a1100000'), "name"=>{"en"=>"North Josiahborough3"}, "geom"=>[-43.0, -24.0], "nation_id"=>"UK", "slug"=>"north-josiahborough3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.5119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Thailand"}, "abbr"=>"TL", "_id"=>"TL", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7616d696d23a1100000')} update={"$set"=>{"nation_id"=>"TL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3623ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5404ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5833ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4955ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guyana"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3231ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7816d696d23d2000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-30.0, -8.0], "nation_id"=>"GH", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4853ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8167ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3737ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"svalbard-&-jan-mayen-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"svalbard-&-jan-mayen-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3202ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Svalbard & Jan Mayen Islands"}, "_id"=>"BR", "slug"=>"svalbard-&-jan-mayen-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"jacquelynburgh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Jacquelynburgh"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"jacquelynburgh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Jacquelynburgh"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3119ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7816d696d23d2050000'), "abbr"=>"MG", "name"=>{"en"=>"Jacquelynburgh"}, "nation_id"=>"BR", "slug"=>"jacquelynburgh"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.0905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5140ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3025ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Zimbabwe"}, "abbr"=>"ZK", "_id"=>"ZK", "slug"=>"zimbabwe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-antonialand0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-antonialand0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Antonialand0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-antonialand0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2429ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-antonialand0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Antonialand0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d2070000'), "name"=>{"en"=>"North Antonialand0"}, "geom"=>[-32.0, -3.0], "nation_id"=>"ZK", "slug"=>"north-antonialand0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5904ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d2080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d2090000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4496ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2320ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7826d696d23d20a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d20c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7826d696d23d20a0000'), "slug"=>"patopolis", "nation_id"=>"MN"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7826d696d23d20b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4515ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d20d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7826d696d23d20b0000'), "slug"=>"patopolis-mg", "nation_id"=>"NE"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3040ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Martinique"}, "abbr"=>"MG", "_id"=>"MG", "slug"=>"martinique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"deborahshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"deborahshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Deborahshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"deborahshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"deborahshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Deborahshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2072ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d20e0000'), "name"=>{"en"=>"Deborahshire1"}, "geom"=>[-40.0, -16.0], "nation_id"=>"MG", "slug"=>"deborahshire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"MI", "_id"=>"MI", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2985ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7826d696d23d20e0000')} update={"$set"=>{"nation_id"=>"MI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3328ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Moldova"}, "abbr"=>"MT", "_id"=>"MT", "slug"=>"moldova"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-justus2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-justus2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Justus2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-justus2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-justus2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Justus2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1796ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d20f0000'), "name"=>{"en"=>"North Justus2"}, "geom"=>[-21.0, -6.0], "nation_id"=>"MT", "slug"=>"north-justus2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belgium"}, "abbr"=>"BL", "_id"=>"BL", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7826d696d23d20f0000')} update={"$set"=>{"nation_id"=>"BL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3228ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3004ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5317ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3647ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Algeria"}, "abbr"=>"AU", "_id"=>"AU", "slug"=>"algeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marianaville3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marianaville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Marianaville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"marianaville3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"marianaville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Marianaville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7826d696d23d2100000'), "name"=>{"en"=>"Marianaville3"}, "geom"=>[-41.0, 4.0], "nation_id"=>"AU", "slug"=>"marianaville3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-41.0, 4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2706ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6580ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3126ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Africa"}, "abbr"=>"SJ", "_id"=>"SJ", "slug"=>"south-africa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pagacshire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pagacshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pagacshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pagacshire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pagacshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pagacshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1577ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb020000'), "name"=>{"en"=>"Pagacshire0"}, "geom"=>[-32.0, -26.0], "nation_id"=>"SJ", "slug"=>"pagacshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3473ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2943ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3429ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1733ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2339ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 19.0465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7a36d696d23fb070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2238ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7a36d696d23fb070000'), "slug"=>"patopolis", "nation_id"=>"SO"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7a36d696d23fb080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb0a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7a36d696d23fb080000'), "slug"=>"patopolis-mg", "nation_id"=>"AR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2709ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2183ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Virgin Islands, U.S."}, "_id"=>"BR", "slug"=>"virgin-islands,-u.s."}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-gabriella"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Gabriella"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-gabriella"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4254ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Gabriella"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3999ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb0b0000'), "abbr"=>"MG", "name"=>{"en"=>"North Gabriella"}, "nation_id"=>"BR", "slug"=>"north-gabriella"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6392ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lesotho"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3351ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lesotho"}, "abbr"=>"LF", "_id"=>"LF", "slug"=>"lesotho"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3292ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb0d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -19.0], "nation_id"=>"LF", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3741ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5335ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3273ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8387ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4919ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2788ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Swaziland"}, "abbr"=>"SS", "_id"=>"SS", "slug"=>"swaziland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-turner1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-turner1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Turner1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-turner1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-turner1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Turner1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3058ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb0e0000'), "name"=>{"en"=>"North Turner1"}, "geom"=>[-46.0, -7.0], "nation_id"=>"SS", "slug"=>"north-turner1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-46.0, -7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3966ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2592ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HN", "_id"=>"HN", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hahnside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hahnside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hahnside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"hahnside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"hahnside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Hahnside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb0f0000'), "name"=>{"en"=>"Hahnside2"}, "geom"=>[-46.0, -7.0], "nation_id"=>"HN", "slug"=>"hahnside2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Martin"}, "abbr"=>"SU", "_id"=>"SU", "slug"=>"saint-martin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7a36d696d23fb0f0000')} update={"$set"=>{"nation_id"=>"SU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3267ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4611ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Suriname"}, "abbr"=>"SE", "_id"=>"SE", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-charles3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-charles3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Charles3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-charles3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-charles3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Charles3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7a36d696d23fb100000'), "name"=>{"en"=>"West Charles3"}, "geom"=>[-33.0, -2.0], "nation_id"=>"SE", "slug"=>"west-charles3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 4.0457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4258ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4465ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7a36d696d23fb100000')} update={"$set"=>{"nation_id"=>"GH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4981ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4847ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macedonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1991ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macedonia"}, "abbr"=>"MF", "_id"=>"MF", "slug"=>"macedonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d2422040000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-41.0, 3.0], "nation_id"=>"MF", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3982ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d2422050000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1714ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guadeloupe"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"guadeloupe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"joanaborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"joanaborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Joanaborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"joanaborough0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"joanaborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Joanaborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d2422060000'), "name"=>{"en"=>"Joanaborough0"}, "geom"=>[-49.0, -2.0], "nation_id"=>"GR", "slug"=>"joanaborough0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2613ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3111ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7bc6d696d2422070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7bc6d696d2422080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Niue"}, "_id"=>"BR", "slug"=>"niue"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"kenbury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Kenbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"kenbury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Kenbury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1793ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d24220b0000'), "abbr"=>"MG", "name"=>{"en"=>"Kenbury"}, "nation_id"=>"BR", "slug"=>"kenbury"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 12.6164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3920ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4044ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2580ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d24220d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3009ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4105ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6746ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4825ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bangladesh"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"bangladesh"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-trevion1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-trevion1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Trevion1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-trevion1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-trevion1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Trevion1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d24220e0000'), "name"=>{"en"=>"New Trevion1"}, "geom"=>[-29.0, 6.0], "nation_id"=>"BU", "slug"=>"new-trevion1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, 6.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2752ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6975ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iran"}, "abbr"=>"IQ", "_id"=>"IQ", "slug"=>"iran"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-quintenborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-quintenborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Quintenborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-quintenborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-quintenborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Quintenborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d24220f0000'), "name"=>{"en"=>"North Quintenborough2"}, "geom"=>[-24.0, -5.0], "nation_id"=>"IQ", "slug"=>"north-quintenborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cameroon"}, "abbr"=>"CO", "_id"=>"CO", "slug"=>"cameroon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7bc6d696d24220f0000')} update={"$set"=>{"nation_id"=>"CO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kuwait"}, "abbr"=>"KR", "_id"=>"KR", "slug"=>"kuwait"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-delpha3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-delpha3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Delpha3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-delpha3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-delpha3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Delpha3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7bc6d696d2422100000'), "name"=>{"en"=>"East Delpha3"}, "geom"=>[-25.0, -19.0], "nation_id"=>"KR", "slug"=>"east-delpha3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pitcairn Islands"}, "abbr"=>"PN", "_id"=>"PN", "slug"=>"pitcairn-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a7bc6d696d2422100000')} update={"$set"=>{"nation_id"=>"PN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3000ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1621ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6632ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7da6d696d2446010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4902ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7da6d696d2446030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7da6d696d2446010000'), "slug"=>"patopolis", "nation_id"=>"JV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4662ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a7da6d696d2446020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a7da6d696d2446040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a7da6d696d2446020000'), "slug"=>"patopolis-mg", "nation_id"=>"NT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.1877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2451ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3828ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Honduras"}, "_id"=>"BR", "slug"=>"honduras"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gracielaborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Gracielaborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"gracielaborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Gracielaborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a7da6d696d2446080000'), "abbr"=>"MG", "name"=>{"en"=>"Gracielaborough"}, "nation_id"=>"BR", "slug"=>"gracielaborough"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4166ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5171ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2618ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lempimouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2594ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lempimouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lempimouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lempimouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lempimouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lempimouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2877ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2130ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2196ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6669ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IC", "_id"=>"IC", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-delmer1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-delmer1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Delmer1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-delmer1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-delmer1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Delmer1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7706ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AL", "_id"=>"AL", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-lafayette2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-lafayette2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Lafayette2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-lafayette2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-lafayette2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Lafayette2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2464ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1873ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guinea-Bissau"}, "abbr"=>"GB", "_id"=>"GB", "slug"=>"guinea-bissau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"coralietown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"coralietown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Coralietown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"coralietown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"coralietown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Coralietown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2725ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2780ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hong-kong"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Hong Kong"}, "_id"=>"BR", "slug"=>"hong-kong"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"auerhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Auerhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"auerhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Auerhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2640ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473020000'), "abbr"=>"MG", "name"=>{"en"=>"Auerhaven"}, "nation_id"=>"BR", "slug"=>"auerhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4264ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5933ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.5514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norway"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norway"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norway"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"norway"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ally0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ally0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Ally0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-ally0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-ally0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Ally0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473040000'), "name"=>{"en"=>"Lake Ally0"}, "geom"=>[-22.0, -23.0], "nation_id"=>"NT", "slug"=>"lake-ally0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2742ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3521ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1578ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UQ", "_id"=>"UQ", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1996ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-27.0, -23.0], "nation_id"=>"UQ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3366ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1972ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2490ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1861ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473070000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2448ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8046d696d24730a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d24730c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8046d696d24730a0000'), "slug"=>"patopolis", "nation_id"=>"DJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8046d696d24730b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d24730d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8046d696d24730b0000'), "slug"=>"patopolis-mg", "nation_id"=>"TV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2126ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"faroe-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1522ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Faroe Islands"}, "abbr"=>"FF", "_id"=>"FF", "slug"=>"faroe-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ronnyshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ronnyshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ronnyshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ronnyshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ronnyshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ronnyshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d24730e0000'), "name"=>{"en"=>"Ronnyshire1"}, "geom"=>[-27.0, -22.0], "nation_id"=>"FF", "slug"=>"ronnyshire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 12.8337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1604ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TN", "_id"=>"TN", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8046d696d24730e0000')} update={"$set"=>{"nation_id"=>"TN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2622ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3537ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Finland"}, "abbr"=>"FS", "_id"=>"FS", "slug"=>"finland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4362ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"spinkaborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"spinkaborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Spinkaborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3416ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"spinkaborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"spinkaborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Spinkaborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2202ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d24730f0000'), "name"=>{"en"=>"Spinkaborough2"}, "geom"=>[-33.0, -30.0], "nation_id"=>"FS", "slug"=>"spinkaborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RI", "_id"=>"RI", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8046d696d24730f0000')} update={"$set"=>{"nation_id"=>"RI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3866ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3788ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6257ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4376ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2042ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jordan"}, "abbr"=>"JS", "_id"=>"JS", "slug"=>"jordan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-dorian3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-dorian3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2215ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Dorian3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-dorian3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-dorian3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Dorian3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2204ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8046d696d2473100000'), "name"=>{"en"=>"Lake Dorian3"}, "geom"=>[-23.0, -29.0], "nation_id"=>"JS", "slug"=>"lake-dorian3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-23.0, -29.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3083ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7300ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2401ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2041ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Micronesia"}, "_id"=>"BR", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"sheridanhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Sheridanhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"sheridanhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Sheridanhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e000000'), "abbr"=>"MG", "name"=>{"en"=>"Sheridanhaven"}, "nation_id"=>"BR", "slug"=>"sheridanhaven"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2949ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4029ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belize"}, "abbr"=>"BC", "_id"=>"BC", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1435ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-28.0, -2.0], "nation_id"=>"BC", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1973ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2423ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1437ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8136d696d248e040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1259ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8136d696d248e040000'), "slug"=>"patopolis", "nation_id"=>"HJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8136d696d248e050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8136d696d248e050000'), "slug"=>"patopolis-mg", "nation_id"=>"SW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1566ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1297ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1651ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1214ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovakia (Slovak Republic)"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"slovakia-(slovak-republic)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernestinebury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernestinebury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernestinebury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernestinebury0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernestinebury0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernestinebury0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1263ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e0d0000'), "name"=>{"en"=>"Ernestinebury0"}, "geom"=>[-21.0, -26.0], "nation_id"=>"SA", "slug"=>"ernestinebury0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2444ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4026ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2699ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1351ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.7418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-jimmy1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-jimmy1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Jimmy1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-jimmy1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-jimmy1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Jimmy1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e0e0000'), "name"=>{"en"=>"South Jimmy1"}, "geom"=>[-26.0, -22.0], "nation_id"=>"SQ", "slug"=>"south-jimmy1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-26.0, -22.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2206ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6157ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pitcairn-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1832ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pitcairn Islands"}, "abbr"=>"PD", "_id"=>"PD", "slug"=>"pitcairn-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schuppebury2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schuppebury2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schuppebury2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"schuppebury2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"schuppebury2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Schuppebury2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1390ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e0f0000'), "name"=>{"en"=>"Schuppebury2"}, "geom"=>[-34.0, 2.0], "nation_id"=>"PD", "slug"=>"schuppebury2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1296ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1896ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8136d696d248e0f0000')} update={"$set"=>{"nation_id"=>"MO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1984ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2692ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1317ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AF", "_id"=>"AF", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pagacview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pagacview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pagacview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pagacview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pagacview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pagacview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4260ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8136d696d248e100000'), "name"=>{"en"=>"Pagacview3"}, "geom"=>[-44.0, -21.0], "nation_id"=>"AF", "slug"=>"pagacview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2007ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Colombia"}, "abbr"=>"CS", "_id"=>"CS", "slug"=>"colombia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8136d696d248e100000')} update={"$set"=>{"nation_id"=>"CS"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3832ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3676ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b5000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4546ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bangladesh"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1999ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bangladesh"}, "abbr"=>"BQ", "_id"=>"BQ", "slug"=>"bangladesh"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-richiestad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-richiestad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Richiestad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-richiestad0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-richiestad0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Richiestad0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b5010000'), "name"=>{"en"=>"Port Richiestad0"}, "geom"=>[-44.0, 3.0], "nation_id"=>"BQ", "slug"=>"port-richiestad0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2360ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3528ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b5040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2154ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1525ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Benin"}, "_id"=>"BR", "slug"=>"benin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-kailyn"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Lake Kailyn"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-kailyn"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Lake Kailyn"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b5050000'), "abbr"=>"MG", "name"=>{"en"=>"Lake Kailyn"}, "nation_id"=>"BR", "slug"=>"lake-kailyn"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3725ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8306d696d24b5090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1808ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b50b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8306d696d24b5090000'), "slug"=>"patopolis", "nation_id"=>"FL"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2874ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8306d696d24b50a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3401ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b50c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8306d696d24b50a0000'), "slug"=>"patopolis-mg", "nation_id"=>"AR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3102ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BN", "_id"=>"BN", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b50d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-41.0, -26.0], "nation_id"=>"BN", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2117ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3104ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5279ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1508ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Qatar"}, "abbr"=>"QP", "_id"=>"QP", "slug"=>"qatar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.6490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nat1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nat1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nat1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nat1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nat1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nat1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b50e0000'), "name"=>{"en"=>"Lake Nat1"}, "geom"=>[-43.0, -8.0], "nation_id"=>"QP", "slug"=>"lake-nat1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-43.0, -8.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1928ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4946ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malaysia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1127ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malaysia"}, "abbr"=>"MT", "_id"=>"MT", "slug"=>"malaysia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"chazfort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"chazfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Chazfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"chazfort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"chazfort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Chazfort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3899ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b50f0000'), "name"=>{"en"=>"Chazfort2"}, "geom"=>[-49.0, 5.0], "nation_id"=>"MT", "slug"=>"chazfort2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gambia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1523ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gambia"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"gambia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8306d696d24b50f0000')} update={"$set"=>{"nation_id"=>"GH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2798ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominica"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1419ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominica"}, "abbr"=>"DF", "_id"=>"DF", "slug"=>"dominica"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ilianafort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ilianafort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ilianafort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ilianafort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ilianafort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ilianafort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1792ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8306d696d24b5100000'), "name"=>{"en"=>"Ilianafort3"}, "geom"=>[-33.0, -10.0], "nation_id"=>"DF", "slug"=>"ilianafort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8306d696d24b5100000')} update={"$set"=>{"nation_id"=>"MO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3010ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2317ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TN", "_id"=>"TN", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5222ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-42.0, -22.0], "nation_id"=>"TN", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2419ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3747ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1571ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Bahrain"}, "_id"=>"BR", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"dibbertmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Dibbertmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"dibbertmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Dibbertmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5010000'), "abbr"=>"MG", "name"=>{"en"=>"Dibbertmouth"}, "nation_id"=>"BR", "slug"=>"dibbertmouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2879ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3757ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1452ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Suriname"}, "abbr"=>"SK", "_id"=>"SK", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"walkertown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"walkertown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Walkertown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"walkertown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"walkertown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1542ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Walkertown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5030000'), "name"=>{"en"=>"Walkertown0"}, "geom"=>[-38.0, -18.0], "nation_id"=>"SK", "slug"=>"walkertown0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2905ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1707ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1999ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2692ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1989ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8436d696d24d5080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d50a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8436d696d24d5080000'), "slug"=>"patopolis", "nation_id"=>"RK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8436d696d24d5090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1831ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d50b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8436d696d24d5090000'), "slug"=>"patopolis-mg", "nation_id"=>"FC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2047ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1685ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1503ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mali"}, "abbr"=>"MV", "_id"=>"MV", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-emory1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-emory1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Emory1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-emory1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-emory1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Emory1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d50e0000'), "name"=>{"en"=>"North Emory1"}, "geom"=>[-30.0, -23.0], "nation_id"=>"MV", "slug"=>"north-emory1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BR", "_id"=>"BR", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.2708ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8436d696d24d50e0000')} update={"$set"=>{"nation_id"=>"BR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2083ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2682ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1180ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RG", "_id"=>"RG", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"waltonton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"waltonton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Waltonton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"waltonton2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"waltonton2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Waltonton2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1240ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d50f0000'), "name"=>{"en"=>"Waltonton2"}, "geom"=>[-42.0, -1.0], "nation_id"=>"RG", "slug"=>"waltonton2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1284ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1236ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cote d'Ivoire"}, "abbr"=>"CW", "_id"=>"CW", "slug"=>"cote-d'ivoire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8436d696d24d50f0000')} update={"$set"=>{"nation_id"=>"CW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1765ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2290ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2659ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1165ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WW", "_id"=>"WW", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-hattie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-hattie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Hattie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-hattie3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-hattie3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Hattie3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4714ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8436d696d24d5100000'), "name"=>{"en"=>"East Hattie3"}, "geom"=>[-49.0, -11.0], "nation_id"=>"WW", "slug"=>"east-hattie3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-49.0, -11.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6497ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3005ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4478ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Armenia"}, "abbr"=>"AD", "_id"=>"AD", "slug"=>"armenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4223ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d2511000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-23.0, -22.0], "nation_id"=>"AD", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4675ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7137ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3327ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d2511010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3553ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8866d696d2511020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d2511040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8866d696d2511020000'), "slug"=>"patopolis", "nation_id"=>"GJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8866d696d2511030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d2511050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8866d696d2511030000'), "slug"=>"patopolis-mg", "nation_id"=>"GP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Italy"}, "abbr"=>"IB", "_id"=>"IB", "slug"=>"italy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ariannahaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ariannahaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ariannahaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ariannahaven0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ariannahaven0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ariannahaven0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d2511060000'), "name"=>{"en"=>"Ariannahaven0"}, "geom"=>[-41.0, -23.0], "nation_id"=>"IB", "slug"=>"ariannahaven0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3151ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4104ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Brunei Darussalam"}, "_id"=>"BR", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-price"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Price"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-price"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"North Price"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3096ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8866d696d25110b0000'), "abbr"=>"MG", "name"=>{"en"=>"North Price"}, "nation_id"=>"BR", "slug"=>"north-price"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3298ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4688ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2147ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d25110d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 13.7295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2536ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3348ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9836ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"yemen"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"YL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2469ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Yemen"}, "abbr"=>"YL", "_id"=>"YL", "slug"=>"yemen"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"purdymouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"purdymouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Purdymouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"purdymouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"purdymouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Purdymouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2634ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d25110e0000'), "name"=>{"en"=>"Purdymouth1"}, "geom"=>[-41.0, -26.0], "nation_id"=>"YL", "slug"=>"purdymouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-41.0, -26.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3492ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8522ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"luxembourg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Luxembourg"}, "abbr"=>"LI", "_id"=>"LI", "slug"=>"luxembourg"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-carmela2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-carmela2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Carmela2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-carmela2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-carmela2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Carmela2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2295ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8866d696d25110f0000'), "name"=>{"en"=>"Lake Carmela2"}, "geom"=>[-24.0, -8.0], "nation_id"=>"LI", "slug"=>"lake-carmela2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2186ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Philippines"}, "abbr"=>"PQ", "_id"=>"PQ", "slug"=>"philippines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3067ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8866d696d25110f0000')} update={"$set"=>{"nation_id"=>"PQ"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3195ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3975ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2067ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AV", "_id"=>"AV", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-eleanoraland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-eleanoraland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Eleanoraland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2247ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-eleanoraland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-eleanoraland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Eleanoraland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2523ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8876d696d2511100000'), "name"=>{"en"=>"North Eleanoraland3"}, "geom"=>[-41.0, -20.0], "nation_id"=>"AV", "slug"=>"north-eleanoraland3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ukraine"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ukraine"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ukraine"}, "abbr"=>"UL", "_id"=>"UL", "slug"=>"ukraine"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3010ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8876d696d2511100000')} update={"$set"=>{"nation_id"=>"UL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2748ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3801ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2185ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7529ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5847ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2484ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6673ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8994ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"morocco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4368ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Morocco"}, "_id"=>"BR", "slug"=>"morocco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-houstonview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"South Houstonview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-houstonview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"South Houstonview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4775ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525030000'), "abbr"=>"MG", "name"=>{"en"=>"South Houstonview"}, "nation_id"=>"BR", "slug"=>"south-houstonview"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5861ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7718ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.7317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GA", "_id"=>"GA", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525050000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-41.0, -30.0], "nation_id"=>"GA", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.1591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4481ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9921ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8896d696d2525060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5002ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8896d696d2525060000'), "slug"=>"patopolis", "nation_id"=>"HM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8896d696d2525070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4795ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8896d696d2525070000'), "slug"=>"patopolis-mg", "nation_id"=>"NH"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4556ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6103ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d25250a0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7761ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bhutan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bhutan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3514ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bhutan"}, "abbr"=>"BT", "_id"=>"BT", "slug"=>"bhutan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nyahmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nyahmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Nyahmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nyahmouth0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nyahmouth0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Nyahmouth0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3868ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d25250b0000'), "name"=>{"en"=>"Nyahmouth0"}, "geom"=>[-38.0, -10.0], "nation_id"=>"BT", "slug"=>"nyahmouth0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5973ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7752ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4813ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Hungary"}, "abbr"=>"HT", "_id"=>"HT", "slug"=>"hungary"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"herzogville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"herzogville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Herzogville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"herzogville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4373ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"herzogville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Herzogville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4019ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d25250e0000'), "name"=>{"en"=>"Herzogville1"}, "geom"=>[-25.0, -4.0], "nation_id"=>"HT", "slug"=>"herzogville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5089ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BC", "_id"=>"BC", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5796ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8896d696d25250e0000')} update={"$set"=>{"nation_id"=>"BC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.2930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7057ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Lucia"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"saint-lucia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernestineshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernestineshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernestineshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ernestineshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ernestineshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ernestineshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4071ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d25250f0000'), "name"=>{"en"=>"Ernestineshire2"}, "geom"=>[-25.0, 7.0], "nation_id"=>"SP", "slug"=>"ernestineshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Caledonia"}, "abbr"=>"NT", "_id"=>"NT", "slug"=>"new-caledonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5509ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8896d696d25250f0000')} update={"$set"=>{"nation_id"=>"NT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4296ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6151ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8431ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5564ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5219ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2575ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mauritius"}, "abbr"=>"MU", "_id"=>"MU", "slug"=>"mauritius"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cecilemouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cecilemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cecilemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cecilemouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cecilemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cecilemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3587ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8896d696d2525100000'), "name"=>{"en"=>"Cecilemouth3"}, "geom"=>[-22.0, -24.0], "nation_id"=>"MU", "slug"=>"cecilemouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, -24.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9000ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4374ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2505ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GP", "_id"=>"GP", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2601ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-30.0, -17.0], "nation_id"=>"GP", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2383ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3004ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1629ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1521ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1616ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1484ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Finland"}, "_id"=>"BR", "slug"=>"finland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-lexie"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"East Lexie"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"east-lexie"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"East Lexie"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4636ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c040000'), "abbr"=>"MG", "name"=>{"en"=>"East Lexie"}, "nation_id"=>"BR", "slug"=>"east-lexie"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"panama"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Panama"}, "abbr"=>"PI", "_id"=>"PI", "slug"=>"panama"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ibitim"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ibitim"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8d66d696d256c040000'), "$or"=>[{"name.en"=>"Ibitim"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ibitim"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ibitim"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8d66d696d256c040000'), "$or"=>[{"name.en"=>"Ibitim"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2433ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3504ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.2770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c060000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1661ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8d66d696d256c070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1711ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8d66d696d256c070000'), "slug"=>"patopolis", "nation_id"=>"SP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2478ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8d66d696d256c080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c0a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8d66d696d256c080000'), "slug"=>"patopolis-mg", "nation_id"=>"BV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1845ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"colombia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Colombia"}, "abbr"=>"CU", "_id"=>"CU", "slug"=>"colombia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abernathyport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abernathyport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Abernathyport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1569ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"abernathyport0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"abernathyport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Abernathyport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c0b0000'), "name"=>{"en"=>"Abernathyport0"}, "geom"=>[-39.0, 3.0], "nation_id"=>"CU", "slug"=>"abernathyport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2770ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4777ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3105ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1391ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Northern Mariana Islands"}, "abbr"=>"NU", "_id"=>"NU", "slug"=>"northern-mariana-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.0699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-samantashire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3523ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-samantashire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2369ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Samantashire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-samantashire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-samantashire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Samantashire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c0e0000'), "name"=>{"en"=>"Port Samantashire1"}, "geom"=>[-23.0, -13.0], "nation_id"=>"NU", "slug"=>"port-samantashire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-23.0, -13.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3382ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2252ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5599ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1355ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Lucia"}, "abbr"=>"ST", "_id"=>"ST", "slug"=>"saint-lucia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-cordellview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-cordellview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1351ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Cordellview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-cordellview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-cordellview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Cordellview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1397ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c0f0000'), "name"=>{"en"=>"West Cordellview2"}, "geom"=>[-22.0, -30.0], "nation_id"=>"ST", "slug"=>"west-cordellview2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1304ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Togo"}, "abbr"=>"TW", "_id"=>"TW", "slug"=>"togo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8d66d696d256c0f0000')} update={"$set"=>{"nation_id"=>"TW"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1930ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2682ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1402ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1181ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-franco3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-franco3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1295ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Franco3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-franco3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-franco3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Franco3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1334ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8d66d696d256c100000'), "name"=>{"en"=>"South Franco3"}, "geom"=>[-44.0, -3.0], "nation_id"=>"GR", "slug"=>"south-franco3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1349ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gabon"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"gabon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8d66d696d256c100000')} update={"$set"=>{"nation_id"=>"GH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1826ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2568ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1414ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1429ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2511ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahamas"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"bahamas"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-melany0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-melany0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3727ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Melany0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-melany0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-melany0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2665ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Melany0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592000000'), "name"=>{"en"=>"Lake Melany0"}, "geom"=>[-26.0, -6.0], "nation_id"=>"BU", "slug"=>"lake-melany0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4393ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6146ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2596ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3672ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4756ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"holy-see-(vatican-city-state)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"holy-see-(vatican-city-state)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2024ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Holy See (Vatican City State)"}, "_id"=>"BR", "slug"=>"holy-see-(vatican-city-state)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"melodystad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Melodystad"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"melodystad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "$or"=>[{"name.en"=>"Melodystad"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"BR", "abbr"=>"MG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2176ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592020000'), "abbr"=>"MG", "name"=>{"en"=>"Melodystad"}, "nation_id"=>"BR", "slug"=>"melodystad"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.1419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ibitim"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ibitim"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8f16d696d2592020000'), "$or"=>[{"name.en"=>"Ibitim"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ibitim"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ibitim"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8f16d696d2592020000'), "$or"=>[{"name.en"=>"Ibitim"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592030000'), "name"=>{"en"=>"Ibitim"}, "geom"=>[-44.0, -6.0], "nation_id"=>"BR", "region_id"=>BSON::ObjectId('5498a8f16d696d2592020000'), "slug"=>"ibitim"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4718ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2769ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2933ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3748ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8f16d696d2592040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8f16d696d2592040000'), "slug"=>"patopolis", "nation_id"=>"SM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a8f16d696d2592050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1633ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a8f16d696d2592050000'), "slug"=>"patopolis-mg", "nation_id"=>"MT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"serbia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Serbia"}, "abbr"=>"SV", "_id"=>"SV", "slug"=>"serbia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d25920a0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-24.0, -4.0], "nation_id"=>"SV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8264ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d25920d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5533ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3015ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Southern Territories"}, "abbr"=>"FO", "_id"=>"FO", "slug"=>"french-southern-territories"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"baileeshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"baileeshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Baileeshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"baileeshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"baileeshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Baileeshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d25920e0000'), "name"=>{"en"=>"Baileeshire1"}, "geom"=>[-41.0, 4.0], "nation_id"=>"FO", "slug"=>"baileeshire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mauritius"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mauritius"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"mauritius"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8f16d696d25920e0000')} update={"$set"=>{"nation_id"=>"MO"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2324ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3189ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1665ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BN", "_id"=>"BN", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-amely2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-amely2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Amely2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-amely2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-amely2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Amely2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d25920f0000'), "name"=>{"en"=>"New Amely2"}, "geom"=>[-49.0, -11.0], "nation_id"=>"BN", "slug"=>"new-amely2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"US"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"US"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3889ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"US", "_id"=>"US", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5483ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a8f16d696d25920f0000')} update={"$set"=>{"nation_id"=>"US"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5520ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7137ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6667ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2025ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7731ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Singapore"}, "abbr"=>"SJ", "_id"=>"SJ", "slug"=>"singapore"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-wilberttown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilberttown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilberttown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-wilberttown3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilberttown3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilberttown3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3664ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a8f16d696d2592100000'), "name"=>{"en"=>"East Wilberttown3"}, "geom"=>[-35.0, -4.0], "nation_id"=>"SJ", "slug"=>"east-wilberttown3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-35.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2087ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 7.5851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4165ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4262ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovakia (Slovak Republic)"}, "abbr"=>"SQ", "_id"=>"SQ", "slug"=>"slovakia-(slovak-republic)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-judge0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-judge0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Judge0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-judge0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-judge0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3328ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Judge0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3903ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b6000000'), "name"=>{"en"=>"West Judge0"}, "geom"=>[-22.0, -11.0], "nation_id"=>"SQ", "slug"=>"west-judge0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7368ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3884ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b6010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5144ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2670ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b6080000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a90c6d696d25b6090000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2105ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b60b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a90c6d696d25b6090000'), "slug"=>"patopolis", "nation_id"=>"UQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a90c6d696d25b60a0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b60c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a90c6d696d25b60a0000'), "slug"=>"patopolis-mg", "nation_id"=>"FU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1802ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Syrian Arab Republic"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"syrian-arab-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1848ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1935ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b60d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-25.0, 1.0], "nation_id"=>"SM", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4542ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2565ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7364ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4862ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2390ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Pakistan"}, "abbr"=>"PT", "_id"=>"PT", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"altenwerthmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"altenwerthmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Altenwerthmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"altenwerthmouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"altenwerthmouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Altenwerthmouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2467ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b60e0000'), "name"=>{"en"=>"Altenwerthmouth1"}, "geom"=>[-50.0, -4.0], "nation_id"=>"PT", "slug"=>"altenwerthmouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-50.0, -4.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3475ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7858ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 16.6264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5259ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SU", "_id"=>"SU", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristinamouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristinamouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Kristinamouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-kristinamouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-kristinamouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Kristinamouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4244ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b60f0000'), "name"=>{"en"=>"North Kristinamouth2"}, "geom"=>[-23.0, -10.0], "nation_id"=>"SU", "slug"=>"north-kristinamouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sudan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sudan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sudan"}, "abbr"=>"SA", "_id"=>"SA", "slug"=>"sudan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4755ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a90c6d696d25b60f0000')} update={"$set"=>{"nation_id"=>"SA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4293ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6042ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2398ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"France"}, "abbr"=>"FJ", "_id"=>"FJ", "slug"=>"france"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emeliemouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emeliemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emeliemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emeliemouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emeliemouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emeliemouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a90c6d696d25b6100000'), "name"=>{"en"=>"Emeliemouth3"}, "geom"=>[-23.0, -22.0], "nation_id"=>"FJ", "slug"=>"emeliemouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5699ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"EC", "_id"=>"EC", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3310ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a90c6d696d25b6100000')} update={"$set"=>{"nation_id"=>"EC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4006ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"singapore"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Singapore"}, "abbr"=>"SC", "_id"=>"SC", "slug"=>"singapore"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2980ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2391ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-48.0, -6.0], "nation_id"=>"SC", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4922ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2918ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1601ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1970ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a9176d696d25ce070000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2435ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a9176d696d25ce070000'), "slug"=>"patopolis", "nation_id"=>"LR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3868ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a9176d696d25ce080000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce0a0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a9176d696d25ce080000'), "slug"=>"patopolis-mg", "nation_id"=>"AW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2809ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nepal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2109ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Nepal"}, "abbr"=>"NV", "_id"=>"NV", "slug"=>"nepal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-darryl0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-darryl0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Darryl0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-darryl0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-darryl0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1818ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Darryl0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1955ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce0d0000'), "name"=>{"en"=>"Lake Darryl0"}, "geom"=>[-33.0, 8.0], "nation_id"=>"NV", "slug"=>"lake-darryl0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2698ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3481ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1917ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6807ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4301ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3873ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d'ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1654ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cote d'Ivoire"}, "abbr"=>"CR", "_id"=>"CR", "slug"=>"cote-d'ivoire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-madysonfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-madysonfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Madysonfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-madysonfort1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-madysonfort1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Madysonfort1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce0e0000'), "name"=>{"en"=>"New Madysonfort1"}, "geom"=>[-45.0, -12.0], "nation_id"=>"CR", "slug"=>"new-madysonfort1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 11.2640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, -12.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0412ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4071ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.1834ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3856ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"slovakia-(slovak-republic)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Slovakia (Slovak Republic)"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"slovakia-(slovak-republic)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carlosshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carlosshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Carlosshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carlosshire2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carlosshire2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Carlosshire2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2001ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce0f0000'), "name"=>{"en"=>"Carlosshire2"}, "geom"=>[-31.0, 6.0], "nation_id"=>"SP", "slug"=>"carlosshire2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UU", "_id"=>"UU", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a9176d696d25ce0f0000')} update={"$set"=>{"nation_id"=>"UU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3767ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1787ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Australia"}, "abbr"=>"AJ", "_id"=>"AJ", "slug"=>"australia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-maci3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2581ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-maci3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Maci3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-maci3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-maci3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Maci3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a9176d696d25ce100000'), "name"=>{"en"=>"North Maci3"}, "geom"=>[-25.0, -13.0], "nation_id"=>"AJ", "slug"=>"north-maci3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1723ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UG", "_id"=>"UG", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a9176d696d25ce100000')} update={"$set"=>{"nation_id"=>"UG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3462ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3293ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iran"}, "abbr"=>"IO", "_id"=>"IO", "slug"=>"iran"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4819ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6976ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saudi Arabia"}, "_id"=>"BR", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3567ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4526ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2424ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Qatar"}, "_id"=>"BR", "slug"=>"qatar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"honduras"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2405ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"indonesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Indonesia"}, "_id"=>"BR", "slug"=>"indonesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2912ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4321ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tokelau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Tokelau"}, "_id"=>"BR", "slug"=>"tokelau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2896ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tuvalu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Japan"}, "abbr"=>"JD", "_id"=>"JD", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"hilllmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JD", "$or"=>[{"name.en"=>"Hilllmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JD", "abbr"=>"HIL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"hilllmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JD", "$or"=>[{"name.en"=>"Hilllmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JD", "abbr"=>"HIL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a91d6d696d2614000000'), "name"=>{"en"=>"Hilllmouth"}, "abbr"=>"HIL", "nation_id"=>"JD", "slug"=>"hilllmouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2947ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3992ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.4500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1799ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"france"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1786ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"France"}, "abbr"=>"FB", "_id"=>"FB", "slug"=>"france"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-jayda0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-jayda0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Jayda0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-jayda0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1771ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-jayda0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Jayda0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91d6d696d2614010000'), "name"=>{"en"=>"New Jayda0"}, "geom"=>[-38.0, 3.0], "nation_id"=>"FB", "slug"=>"new-jayda0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4344ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2607ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3462ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3706ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1790ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1810ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91d6d696d2614020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2312ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1588ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a91d6d696d2614050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1681ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91d6d696d2614070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a91d6d696d2614050000'), "slug"=>"patopolis", "nation_id"=>"UA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a91d6d696d2614060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1834ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91d6d696d2614080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a91d6d696d2614060000'), "slug"=>"patopolis-mg", "nation_id"=>"MD"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 9.1831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2409ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"russian-federation"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1781ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"russian-federation"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Russian Federation"}, "abbr"=>"RG", "_id"=>"RG", "slug"=>"russian-federation"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d26140d0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-49.0, -18.0], "nation_id"=>"RG", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3274ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2978ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1709ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d26140e0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cayman-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cayman Islands"}, "abbr"=>"CU", "_id"=>"CU", "slug"=>"cayman-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-raleigh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-raleigh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Raleigh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-raleigh1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-raleigh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Raleigh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d26140f0000'), "name"=>{"en"=>"East Raleigh1"}, "geom"=>[-22.0, -13.0], "nation_id"=>"CU", "slug"=>"east-raleigh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"fiji"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"fiji"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1616ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Fiji"}, "abbr"=>"FU", "_id"=>"FU", "slug"=>"fiji"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2394ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a91e6d696d26140f0000')} update={"$set"=>{"nation_id"=>"FU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4562ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WC", "_id"=>"WC", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"icieview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"icieview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Icieview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"icieview2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"icieview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Icieview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1277ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d2614100000'), "name"=>{"en"=>"Icieview2"}, "geom"=>[-36.0, -12.0], "nation_id"=>"WC", "slug"=>"icieview2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1405ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Martinique"}, "abbr"=>"MR", "_id"=>"MR", "slug"=>"martinique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2037ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a91e6d696d2614100000')} update={"$set"=>{"nation_id"=>"MR"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2042ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2616ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2501ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"benin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1374ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Benin"}, "abbr"=>"BC", "_id"=>"BC", "slug"=>"benin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"loraland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2406ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"loraland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Loraland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"loraland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"loraland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Loraland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d2614110000'), "name"=>{"en"=>"Loraland3"}, "geom"=>[-41.0, 2.0], "nation_id"=>"BC", "slug"=>"loraland3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-41.0, 2.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2043ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5312ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1340ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HL", "_id"=>"HL", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pabloview4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pabloview4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pabloview4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pabloview4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pabloview4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pabloview4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1306ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d2614120000'), "name"=>{"en"=>"Pabloview4"}, "geom"=>[-38.0, 4.0], "nation_id"=>"HL", "slug"=>"pabloview4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"predovicview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a91e6d696d2614120000'), "$or"=>[{"name.en"=>"Predovicview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"predovicview0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a91e6d696d2614120000'), "$or"=>[{"name.en"=>"Predovicview0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1384ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5498a91e6d696d2614130000'), "name"=>{"en"=>"Predovicview0"}, "city_id"=>BSON::ObjectId('5498a91e6d696d2614120000'), "slug"=>"predovicview0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2380ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2413ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.2700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-norrisview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"New Norrisview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1389ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2000000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3526ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2117ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a98c6d696d29c2030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2216ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a98c6d696d29c2030000'), "slug"=>"patopolis", "nation_id"=>"BI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('5498a98c6d696d29c2040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2939ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('5498a98c6d696d29c2040000'), "slug"=>"patopolis-mg", "nation_id"=>"SG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2862ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2399ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WM", "_id"=>"WM", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-etha0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-etha0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Etha0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-etha0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-etha0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Etha0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1463ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2070000'), "name"=>{"en"=>"West Etha0"}, "geom"=>[-28.0, -17.0], "nation_id"=>"WM", "slug"=>"west-etha0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2115ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3427ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1371ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belize"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3395ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1347ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c20a0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-21.0, -10.0], "nation_id"=>"BU", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2563ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1423ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c20b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1778ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BW", "_id"=>"BW", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"camilleport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"camilleport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Camilleport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"camilleport1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"camilleport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Camilleport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2148ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2100000'), "name"=>{"en"=>"Camilleport1"}, "geom"=>[-32.0, -20.0], "nation_id"=>"BW", "slug"=>"camilleport1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malawi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malawi"}, "abbr"=>"MT", "_id"=>"MT", "slug"=>"malawi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 20.9546ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a98c6d696d29c2100000')} update={"$set"=>{"nation_id"=>"MT"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2720ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4268ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1887ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chile"}, "abbr"=>"CU", "_id"=>"CU", "slug"=>"chile"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-leslymouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-leslymouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Leslymouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-leslymouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-leslymouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Leslymouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1323ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2110000'), "name"=>{"en"=>"East Leslymouth2"}, "geom"=>[-33.0, -17.0], "nation_id"=>"CU", "slug"=>"east-leslymouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cyprus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1320ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cyprus"}, "abbr"=>"CE", "_id"=>"CE", "slug"=>"cyprus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2162ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('5498a98c6d696d29c2110000')} update={"$set"=>{"nation_id"=>"CE"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2603ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1605ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1444ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4587ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4513ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"philippines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Philippines"}, "abbr"=>"PR", "_id"=>"PR", "slug"=>"philippines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kellenstad3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kellenstad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kellenstad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kellenstad3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kellenstad3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kellenstad3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2120000'), "name"=>{"en"=>"Kellenstad3"}, "geom"=>[-49.0, -19.0], "nation_id"=>"PR", "slug"=>"kellenstad3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-49.0, -19.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4429ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2768ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6693ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1688ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"northern-mariana-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1785ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Northern Mariana Islands"}, "_id"=>"BR", "slug"=>"northern-mariana-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Sao Tome and Principe"}, "_id"=>"BR", "slug"=>"sao-tome-and-principe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CL", "_id"=>"CL", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1647ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"pakistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1556ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Pakistan"}, "_id"=>"BR", "slug"=>"pakistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1592ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1655ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1524ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Japan"}, "_id"=>"BR", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2055ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2142ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1534ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1468ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NO", "_id"=>"NO", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"langoshmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NO", "$or"=>[{"name.en"=>"Langoshmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1683ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NO", "abbr"=>"LAN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"langoshmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NO", "$or"=>[{"name.en"=>"Langoshmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NO", "abbr"=>"LAN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1613ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2130000'), "name"=>{"en"=>"Langoshmouth"}, "abbr"=>"LAN", "nation_id"=>"NO", "slug"=>"langoshmouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3503ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1627ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iraq"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iraq"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1426ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iraq"}, "abbr"=>"IC", "_id"=>"IC", "slug"=>"iraq"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kaitlynport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kaitlynport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kaitlynport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kaitlynport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kaitlynport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kaitlynport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2040ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2140000'), "name"=>{"en"=>"Kaitlynport4"}, "geom"=>[-26.0, -10.0], "nation_id"=>"IC", "slug"=>"kaitlynport4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"treutelborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a98c6d696d29c2140000'), "$or"=>[{"name.en"=>"Treutelborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"treutelborough0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('5498a98c6d696d29c2140000'), "$or"=>[{"name.en"=>"Treutelborough0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('5498a98c6d696d29c2150000'), "name"=>{"en"=>"Treutelborough0"}, "city_id"=>BSON::ObjectId('5498a98c6d696d29c2140000'), "slug"=>"treutelborough0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2881ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3601ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3620ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.3883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"sabrinaview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Sabrinaview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1963ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 43.4778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 23.0745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9276d696d3ed0020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5898ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9276d696d3ed0040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9276d696d3ed0020000'), "slug"=>"patopolis", "nation_id"=>"MG"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 24.3773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9276d696d3ed0030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5227ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9276d696d3ed0050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9276d696d3ed0030000'), "slug"=>"patopolis-mg", "nation_id"=>"GB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6336ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 43.8259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"austria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.6979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"austria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5075ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Austria"}, "abbr"=>"AS", "_id"=>"AS", "slug"=>"austria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 41.0466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rafaelchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rafaelchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Rafaelchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rafaelchester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rafaelchester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Rafaelchester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5379ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9276d696d3ed0060000'), "name"=>{"en"=>"Rafaelchester0"}, "geom"=>[-40.0, 0.0], "nation_id"=>"AS", "slug"=>"rafaelchester0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0323ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 23.9949ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4291ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4112ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed0090000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4002ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3562ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Peru"}, "abbr"=>"PD", "_id"=>"PD", "slug"=>"peru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7358ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed00c0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-49.0, -13.0], "nation_id"=>"PD", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6414ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9206ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5279ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5618ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed00f0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6696ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 19.3393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4726ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GC", "_id"=>"GC", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0796ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"caylastad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"caylastad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4557ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Caylastad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"caylastad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"caylastad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Caylastad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4866ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed0100000'), "name"=>{"en"=>"Caylastad1"}, "geom"=>[-41.0, 3.0], "nation_id"=>"GC", "slug"=>"caylastad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4244ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Christmas Island"}, "abbr"=>"CN", "_id"=>"CN", "slug"=>"christmas-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5867ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9286d696d3ed0100000')} update={"$set"=>{"nation_id"=>"CN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.3340ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5546ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7242ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3683ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Italy"}, "abbr"=>"IQ", "_id"=>"IQ", "slug"=>"italy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-ali2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-ali2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Ali2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-ali2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3749ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-ali2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Ali2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed0110000'), "name"=>{"en"=>"Port Ali2"}, "geom"=>[-25.0, 9.0], "nation_id"=>"IQ", "slug"=>"port-ali2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chile"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Chile"}, "abbr"=>"CA", "_id"=>"CA", "slug"=>"chile"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4678ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9286d696d3ed0110000')} update={"$set"=>{"nation_id"=>"CA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4551ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6567ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3308ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 18.7689ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.6829ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.0253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4565ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TG", "_id"=>"TG", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-bart3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.7017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-bart3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Bart3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-bart3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-bart3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Bart3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4263ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9286d696d3ed0120000'), "name"=>{"en"=>"New Bart3"}, "geom"=>[-43.0, 9.0], "nation_id"=>"TG", "slug"=>"new-bart3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 8.5789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-43.0, 9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.2743ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 23.4725ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9380ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3998ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3000000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4741ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4835ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3010000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4473ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5490ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niue"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3354ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Niue"}, "abbr"=>"NF", "_id"=>"NF", "slug"=>"niue"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 28.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-susan0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-susan0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Susan0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-susan0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-susan0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Susan0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4535ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3020000'), "name"=>{"en"=>"East Susan0"}, "geom"=>[-27.0, -14.0], "nation_id"=>"NF", "slug"=>"east-susan0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5228ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7713ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9326d696d3ee3050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4318ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9326d696d3ee3050000'), "slug"=>"patopolis", "nation_id"=>"LC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9326d696d3ee3060000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3542ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9326d696d3ee3060000'), "slug"=>"patopolis-mg", "nation_id"=>"MU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4664ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4104ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uruguay"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3549ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uruguay"}, "abbr"=>"UV", "_id"=>"UV", "slug"=>"uruguay"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2702ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee30f0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-27.0, -22.0], "nation_id"=>"UV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5619ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5400ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8360ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6143ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"australia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Australia"}, "abbr"=>"AB", "_id"=>"AB", "slug"=>"australia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-maximo1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-maximo1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Maximo1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2750ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-maximo1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-maximo1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2639ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Maximo1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3100000'), "name"=>{"en"=>"Port Maximo1"}, "geom"=>[-44.0, 9.0], "nation_id"=>"AB", "slug"=>"port-maximo1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-44.0, 9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4347ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0034ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2712ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2455ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guam"}, "abbr"=>"GC", "_id"=>"GC", "slug"=>"guam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-paigeland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-paigeland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2347ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Paigeland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-paigeland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2273ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-paigeland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Paigeland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2165ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3110000'), "name"=>{"en"=>"South Paigeland2"}, "geom"=>[-31.0, -11.0], "nation_id"=>"GC", "slug"=>"south-paigeland2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2621ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TP", "_id"=>"TP", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 27.7504ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9326d696d3ee3110000')} update={"$set"=>{"nation_id"=>"TP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4171ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7503ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antarctica-(the-territory-south-of-60-deg-s)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4933ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antarctica (the territory South of 60 deg S)"}, "abbr"=>"AS", "_id"=>"AS", "slug"=>"antarctica-(the-territory-south-of-60-deg-s)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-cleveland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-cleveland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Cleveland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-cleveland3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-cleveland3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Cleveland3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4007ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9326d696d3ee3120000'), "name"=>{"en"=>"Lake Cleveland3"}, "geom"=>[-46.0, -30.0], "nation_id"=>"AS", "slug"=>"lake-cleveland3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3243ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Anguilla"}, "abbr"=>"AD", "_id"=>"AD", "slug"=>"anguilla"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5751ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9326d696d3ee3120000')} update={"$set"=>{"nation_id"=>"AD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5814ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7989ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6768ms Overwriting existing field souls in class Hood. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3786ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Vincent and the Grenadines"}, "abbr"=>"SB", "_id"=>"SB", "slug"=>"saint-vincent-and-the-grenadines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3763ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b000000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -3.0], "nation_id"=>"SB", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8379ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b010000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8337ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4404ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3042ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 25.3694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5425ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3881ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United States of America"}, "abbr"=>"UB", "_id"=>"UB", "slug"=>"united-states-of-america"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"collinsshire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"collinsshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Collinsshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"collinsshire0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"collinsshire0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Collinsshire0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4060ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b070000'), "name"=>{"en"=>"Collinsshire0"}, "geom"=>[-22.0, -13.0], "nation_id"=>"UB", "slug"=>"collinsshire0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4421ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6549ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2808ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2578ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9636d696d3f0b0c0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b0e0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9636d696d3f0b0c0000'), "slug"=>"patopolis", "nation_id"=>"RL"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9636d696d3f0b0d0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b0f0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9636d696d3f0b0d0000'), "slug"=>"patopolis-mg", "nation_id"=>"BM"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2607ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belize"}, "abbr"=>"BB", "_id"=>"BB", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-alexis1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-alexis1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Alexis1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2355ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-alexis1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-alexis1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Alexis1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2735ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b100000'), "name"=>{"en"=>"New Alexis1"}, "geom"=>[-46.0, 6.0], "nation_id"=>"BB", "slug"=>"new-alexis1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2493ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cambodia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cambodia"}, "abbr"=>"CB", "_id"=>"CB", "slug"=>"cambodia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3623ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9636d696d3f0b100000')} update={"$set"=>{"nation_id"=>"CB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3242ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4990ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5871ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5510ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ethiopia"}, "abbr"=>"EI", "_id"=>"EI", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"krisside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"krisside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Krisside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3570ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"krisside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"krisside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Krisside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3533ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b110000'), "name"=>{"en"=>"Krisside2"}, "geom"=>[-34.0, -16.0], "nation_id"=>"EI", "slug"=>"krisside2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7891ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3773ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UH", "_id"=>"UH", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5366ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9636d696d3f0b110000')} update={"$set"=>{"nation_id"=>"UH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4377ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5482ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5328ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8805ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5633ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2971ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3764ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kazakhstan"}, "abbr"=>"KH", "_id"=>"KH", "slug"=>"kazakhstan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.7634ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-daronberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-daronberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4681ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Daronberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4488ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-daronberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-daronberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Daronberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4289ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9636d696d3f0b120000'), "name"=>{"en"=>"New Daronberg3"}, "geom"=>[-23.0, 5.0], "nation_id"=>"KH", "slug"=>"new-daronberg3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-23.0, 5.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9463ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5121ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2346ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7419ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-itzel0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.1910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"New Itzel0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3311ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HL", "_id"=>"HL", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.2509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dareside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dareside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dareside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"dareside0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"dareside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Dareside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9696d696d3f1e000000'), "name"=>{"en"=>"Dareside0"}, "geom"=>[-22.0, 9.0], "nation_id"=>"HL", "slug"=>"dareside0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"florinechester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0a9696d696d3f1e000000'), "$or"=>[{"name.en"=>"Florinechester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2598ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"florinechester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0a9696d696d3f1e000000'), "$or"=>[{"name.en"=>"Florinechester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2544ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54a0a9696d696d3f1e010000'), "name"=>{"en"=>"Florinechester1"}, "city_id"=>BSON::ObjectId('54a0a9696d696d3f1e000000'), "slug"=>"florinechester1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5649ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6169ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 24.6357ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3458ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9b06d696d3f36000000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3392ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9b06d696d3f36000000'), "slug"=>"patopolis", "nation_id"=>"NC"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9b06d696d3f36010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9b06d696d3f36010000'), "slug"=>"patopolis-mg", "nation_id"=>"CF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4049ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6747ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3322ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vietnam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2678ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2671ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vietnam"}, "abbr"=>"VQ", "_id"=>"VQ", "slug"=>"vietnam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2723ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2820ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2551ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2716ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36060000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-22.0, 6.0], "nation_id"=>"VQ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9910ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6834ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9444ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7525ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3372ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4208ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3608ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3125ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UC", "_id"=>"UC", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7829ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"botsfordfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"botsfordfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Botsfordfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"botsfordfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2710ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"botsfordfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Botsfordfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f360a0000'), "name"=>{"en"=>"Botsfordfort0"}, "geom"=>[-42.0, -19.0], "nation_id"=>"UC", "slug"=>"botsfordfort0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4946ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2869ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f360b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"malta"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Malta"}, "abbr"=>"MH", "_id"=>"MH", "slug"=>"malta"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.8671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wisozkchester1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wisozkchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wisozkchester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wisozkchester1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wisozkchester1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2738ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wisozkchester1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36100000'), "name"=>{"en"=>"Wisozkchester1"}, "geom"=>[-33.0, -28.0], "nation_id"=>"MH", "slug"=>"wisozkchester1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Djibouti"}, "abbr"=>"DD", "_id"=>"DD", "slug"=>"djibouti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9b06d696d3f36100000')} update={"$set"=>{"nation_id"=>"DD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5468ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5848ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7735ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"seychelles"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2965ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Seychelles"}, "abbr"=>"SW", "_id"=>"SW", "slug"=>"seychelles"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-augustineside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-augustineside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Augustineside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-augustineside2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-augustineside2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Augustineside2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36110000'), "name"=>{"en"=>"Lake Augustineside2"}, "geom"=>[-49.0, -12.0], "nation_id"=>"SW", "slug"=>"lake-augustineside2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bulgaria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2957ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bulgaria"}, "abbr"=>"BH", "_id"=>"BH", "slug"=>"bulgaria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4178ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9b06d696d3f36110000')} update={"$set"=>{"nation_id"=>"BH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4315ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6133ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5676ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3935ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0231ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5364ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2866ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ST"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2937ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sao Tome and Principe"}, "abbr"=>"ST", "_id"=>"ST", "slug"=>"sao-tome-and-principe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-verner3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4728ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-verner3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Verner3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-verner3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-verner3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Verner3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3064ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9b06d696d3f36120000'), "name"=>{"en"=>"West Verner3"}, "geom"=>[-38.0, -17.0], "nation_id"=>"ST", "slug"=>"west-verner3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-38.0, -17.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3991ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0230ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4719ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3749ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3231ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Armenia"}, "_id"=>"BR", "slug"=>"armenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4883ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"suriname"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4482ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Suriname"}, "abbr"=>"SR", "_id"=>"SR", "slug"=>"suriname"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5002ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ethiopia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3975ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Ethiopia"}, "_id"=>"BR", "slug"=>"ethiopia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5185ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3832ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"anguilla"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3657ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Anguilla"}, "_id"=>"BR", "slug"=>"anguilla"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"christmas-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3631ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3653ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3685ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Albania"}, "_id"=>"BR", "slug"=>"albania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 16.2901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6828ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9815ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9dc6d696d3f60020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3556ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dc6d696d3f60040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9dc6d696d3f60020000'), "slug"=>"patopolis", "nation_id"=>"MP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5484ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0a9dc6d696d3f60030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4199ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0a9dc6d696d3f60030000'), "slug"=>"patopolis-mg", "nation_id"=>"IN"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6909ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4368ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Southern Territories"}, "abbr"=>"FS", "_id"=>"FS", "slug"=>"french-southern-territories"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"friedrichton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"friedrichton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Friedrichton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"friedrichton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"friedrichton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Friedrichton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3245ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f600a0000'), "name"=>{"en"=>"Friedrichton0"}, "geom"=>[-42.0, -10.0], "nation_id"=>"FS", "slug"=>"friedrichton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8292ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4703ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7240ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3231ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Myanmar"}, "abbr"=>"MD", "_id"=>"MD", "slug"=>"myanmar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f600b0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-22.0, -26.0], "nation_id"=>"MD", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5001ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4754ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f600c0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3572ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3522ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3334ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4067ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f600f0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2826ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"brunei-darussalam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Brunei Darussalam"}, "abbr"=>"BO", "_id"=>"BO", "slug"=>"brunei-darussalam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kurtistown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kurtistown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2452ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Kurtistown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kurtistown1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2521ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kurtistown1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Kurtistown1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2522ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60100000'), "name"=>{"en"=>"Port Kurtistown1"}, "geom"=>[-43.0, -19.0], "nation_id"=>"BO", "slug"=>"port-kurtistown1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 19.0741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turks-and-caicos-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2861ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3349ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turks and Caicos Islands"}, "abbr"=>"TN", "_id"=>"TN", "slug"=>"turks-and-caicos-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4576ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60100000')} update={"$set"=>{"nation_id"=>"TN"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4449ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5608ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liberia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2530ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liberia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Liberia"}, "abbr"=>"LV", "_id"=>"LV", "slug"=>"liberia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"erichborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"erichborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Erichborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"erichborough2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"erichborough2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Erichborough2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2472ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60110000'), "name"=>{"en"=>"Erichborough2"}, "geom"=>[-40.0, -24.0], "nation_id"=>"LV", "slug"=>"erichborough2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2195ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Barthelemy"}, "abbr"=>"SF", "_id"=>"SF", "slug"=>"saint-barthelemy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2934ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60110000')} update={"$set"=>{"nation_id"=>"SF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3427ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5115ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7416ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4525ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"italy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1830ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Italy"}, "abbr"=>"IB", "_id"=>"IB", "slug"=>"italy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brianahaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brianahaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brianahaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"brianahaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"brianahaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Brianahaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2853ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0a9dd6d696d3f60120000'), "name"=>{"en"=>"Brianahaven3"}, "geom"=>[-44.0, -27.0], "nation_id"=>"IB", "slug"=>"brianahaven3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-44.0, -27.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6732ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4135ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0476ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4868ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb4020000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4127ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"monaco"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2772ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Monaco"}, "abbr"=>"MJ", "_id"=>"MJ", "slug"=>"monaco"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2446ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb4070000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-24.0, 8.0], "nation_id"=>"MJ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5659ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3181ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4796ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2719ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lao-people's-democratic-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lao People's Democratic Republic"}, "abbr"=>"LH", "_id"=>"LH", "slug"=>"lao-people's-democratic-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"botsfordfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"botsfordfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2328ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Botsfordfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"botsfordfort0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"botsfordfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Botsfordfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2338ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb40a0000'), "name"=>{"en"=>"Botsfordfort0"}, "geom"=>[-32.0, -9.0], "nation_id"=>"LH", "slug"=>"botsfordfort0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3248ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3793ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1914ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb40b0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4363ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2338ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa176d696d3fb40c0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb40e0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa176d696d3fb40c0000'), "slug"=>"patopolis", "nation_id"=>"AT"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa176d696d3fb40d0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb40f0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa176d696d3fb40d0000'), "slug"=>"patopolis-mg", "nation_id"=>"SI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2701ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3841ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4163ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"el-salvador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1868ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"El Salvador"}, "abbr"=>"EM", "_id"=>"EM", "slug"=>"el-salvador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-jaronville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-jaronville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Jaronville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-jaronville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-jaronville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Jaronville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb4100000'), "name"=>{"en"=>"North Jaronville1"}, "geom"=>[-22.0, -9.0], "nation_id"=>"EM", "slug"=>"north-jaronville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2898ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, -9.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4475ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7418ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"comoros"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1642ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Comoros"}, "abbr"=>"CG", "_id"=>"CG", "slug"=>"comoros"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-salmafort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1858ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-salmafort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Salmafort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-salmafort2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1674ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-salmafort2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1758ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Salmafort2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1765ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb4110000'), "name"=>{"en"=>"Port Salmafort2"}, "geom"=>[-44.0, 3.0], "nation_id"=>"CG", "slug"=>"port-salmafort2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"western-sahara"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"WU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Western Sahara"}, "abbr"=>"WU", "_id"=>"WU", "slug"=>"western-sahara"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa176d696d3fb4110000')} update={"$set"=>{"nation_id"=>"WU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2730ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2293ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3058ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"senegal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2439ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Senegal"}, "abbr"=>"SI", "_id"=>"SI", "slug"=>"senegal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7096ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-aliciafurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2335ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-aliciafurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Aliciafurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-aliciafurt3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-aliciafurt3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Aliciafurt3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa176d696d3fb4120000'), "name"=>{"en"=>"West Aliciafurt3"}, "geom"=>[-22.0, -17.0], "nation_id"=>"SI", "slug"=>"west-aliciafurt3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.2184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tunisia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2219ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tunisia"}, "abbr"=>"TB", "_id"=>"TB", "slug"=>"tunisia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3015ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa176d696d3fb4120000')} update={"$set"=>{"nation_id"=>"TB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3721ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5088ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2383ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2677ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8569ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"qatar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"QB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Qatar"}, "abbr"=>"QB", "_id"=>"QB", "slug"=>"qatar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-landenburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-landenburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Landenburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-landenburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2332ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-landenburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Landenburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6000000'), "name"=>{"en"=>"East Landenburgh0"}, "geom"=>[-28.0, -27.0], "nation_id"=>"QB", "slug"=>"east-landenburgh0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3666ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5125ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2846ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa236d696d3fd6030000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6050000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa236d696d3fd6030000'), "slug"=>"patopolis", "nation_id"=>"ST"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa236d696d3fd6040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2797ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa236d696d3fd6040000'), "slug"=>"patopolis-mg", "nation_id"=>"HJ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3610ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3061ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6070000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4985ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"sao-tome-and-principe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1854ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Sao Tome and Principe"}, "abbr"=>"SR", "_id"=>"SR", "slug"=>"sao-tome-and-principe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2444ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6080000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-22.0, -6.0], "nation_id"=>"SR", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2059ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3182ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1887ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1705ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1826ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd60f0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1986ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kuwait"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kuwait"}, "abbr"=>"KO", "_id"=>"KO", "slug"=>"kuwait"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sonnymouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sonnymouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sonnymouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sonnymouth1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sonnymouth1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sonnymouth1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1900ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6100000'), "name"=>{"en"=>"Sonnymouth1"}, "geom"=>[-24.0, -9.0], "nation_id"=>"KO", "slug"=>"sonnymouth1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"san-marino"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1770ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"San Marino"}, "abbr"=>"SL", "_id"=>"SL", "slug"=>"san-marino"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2624ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa236d696d3fd6100000')} update={"$set"=>{"nation_id"=>"SL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2428ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3617ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1582ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1203ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kazakhstan"}, "abbr"=>"KT", "_id"=>"KT", "slug"=>"kazakhstan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-carlotown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-carlotown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Carlotown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-carlotown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1233ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-carlotown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Carlotown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1299ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6110000'), "name"=>{"en"=>"New Carlotown2"}, "geom"=>[-23.0, -24.0], "nation_id"=>"KT", "slug"=>"new-carlotown2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"botswana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1403ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"botswana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1357ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Botswana"}, "abbr"=>"BD", "_id"=>"BD", "slug"=>"botswana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2136ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa236d696d3fd6110000')} update={"$set"=>{"nation_id"=>"BD"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2035ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2968ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2631ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4913ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 5.3155ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8114ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3700ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Grenada"}, "abbr"=>"GJ", "_id"=>"GJ", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4203ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"vellaton3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"vellaton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3571ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Vellaton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3487ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"vellaton3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"vellaton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Vellaton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3404ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa236d696d3fd6120000'), "name"=>{"en"=>"Vellaton3"}, "geom"=>[-46.0, 8.0], "nation_id"=>"GJ", "slug"=>"vellaton3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-46.0, 8.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3307ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8287ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1843ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1849ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7778ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4687ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2020000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3549ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6618ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.0078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5382ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UF", "_id"=>"UF", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3604ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-lurlineburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-lurlineburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Lurlineburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4424ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-lurlineburgh0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3289ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-lurlineburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Lurlineburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2986ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2030000'), "name"=>{"en"=>"East Lurlineburgh0"}, "geom"=>[-26.0, -1.0], "nation_id"=>"UF", "slug"=>"east-lurlineburgh0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7635ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6119ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3599ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lebanon"}, "abbr"=>"LC", "_id"=>"LC", "slug"=>"lebanon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3609ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3097ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2080000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-23.0, -3.0], "nation_id"=>"LC", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9070ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4942ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6278ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5749ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3484ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20b0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5855ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20c0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4316ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20e0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20c0000'), "slug"=>"patopolis", "nation_id"=>"BF"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5431ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3694ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20d0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20f0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa4d6d696d3ff20d0000'), "slug"=>"patopolis-mg", "nation_id"=>"SW"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4277ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lithuania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4285ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lithuania"}, "abbr"=>"LR", "_id"=>"LR", "slug"=>"lithuania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wendyville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4159ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wendyville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4133ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wendyville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"wendyville1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"wendyville1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Wendyville1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2100000'), "name"=>{"en"=>"Wendyville1"}, "geom"=>[-30.0, -16.0], "nation_id"=>"LR", "slug"=>"wendyville1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 15.3419ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guernsey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4636ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4059ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guernsey"}, "abbr"=>"GC", "_id"=>"GC", "slug"=>"guernsey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5172ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2100000')} update={"$set"=>{"nation_id"=>"GC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5562ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7066ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"aruba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"aruba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3972ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Aruba"}, "abbr"=>"AK", "_id"=>"AK", "slug"=>"aruba"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-desiree2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4094ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-desiree2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Desiree2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-desiree2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-desiree2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3445ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Desiree2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3984ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2110000'), "name"=>{"en"=>"Port Desiree2"}, "geom"=>[-26.0, -17.0], "nation_id"=>"AK", "slug"=>"port-desiree2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mexico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mexico"}, "abbr"=>"MI", "_id"=>"MI", "slug"=>"mexico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa4d6d696d3ff2110000')} update={"$set"=>{"nation_id"=>"MI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6031ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7012ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3675ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4544ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4044ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1920ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8827ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8602ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3838ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"togo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Togo"}, "abbr"=>"TW", "_id"=>"TW", "slug"=>"togo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"audreyberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"audreyberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Audreyberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"audreyberg3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"audreyberg3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Audreyberg3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa4e6d696d3ff2120000'), "name"=>{"en"=>"Audreyberg3"}, "geom"=>[-45.0, 7.0], "nation_id"=>"TW", "slug"=>"audreyberg3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-45.0, 7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8218ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.3467ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6550ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patrickton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patrickton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patrickton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa8b6d696d400e010000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2421ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa8b6d696d400e010000'), "slug"=>"patopolis", "nation_id"=>"MI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aa8b6d696d400e020000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5485ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e040000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aa8b6d696d400e020000'), "slug"=>"patopolis-mg", "nation_id"=>"SB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3111ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2789ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2670ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"republic-of-korea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2395ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Republic of Korea"}, "abbr"=>"RU", "_id"=>"RU", "slug"=>"republic-of-korea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3429ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3537ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4198ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e070000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-30.0, 4.0], "nation_id"=>"RU", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 19.2560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5698ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.9766ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5198ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e080000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0649ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.8263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4637ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jersey"}, "abbr"=>"JI", "_id"=>"JI", "slug"=>"jersey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"boscostad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"boscostad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Boscostad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"boscostad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"boscostad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Boscostad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4084ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e0b0000'), "name"=>{"en"=>"Boscostad1"}, "geom"=>[-45.0, -14.0], "nation_id"=>"JI", "slug"=>"boscostad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5543ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7757ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6527ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3173ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e0c0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6811ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5535ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4904ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"canada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3215ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Canada"}, "abbr"=>"CO", "_id"=>"CO", "slug"=>"canada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7293ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-michele2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-michele2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3199ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Michele2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3482ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-michele2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-michele2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4451ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Michele2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5265ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e110000'), "name"=>{"en"=>"West Michele2"}, "geom"=>[-39.0, 3.0], "nation_id"=>"CO", "slug"=>"west-michele2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"lebanon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3461ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"LH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Lebanon"}, "abbr"=>"LH", "_id"=>"LH", "slug"=>"lebanon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4617ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa8b6d696d400e110000')} update={"$set"=>{"nation_id"=>"LH"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4914ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6156ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"vanuatu"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2657ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Vanuatu"}, "abbr"=>"VF", "_id"=>"VF", "slug"=>"vanuatu"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6689ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"weimannview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"weimannview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2645ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Weimannview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"weimannview3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"weimannview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2507ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Weimannview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2676ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e120000'), "name"=>{"en"=>"Weimannview3"}, "geom"=>[-50.0, 5.0], "nation_id"=>"VF", "slug"=>"weimannview3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"armenia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Armenia"}, "abbr"=>"AG", "_id"=>"AG", "slug"=>"armenia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 7.0783ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aa8b6d696d400e120000')} update={"$set"=>{"nation_id"=>"AG"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4183ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5920ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5723ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9351ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6818ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2839ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2552ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"micronesia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2420ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Micronesia"}, "abbr"=>"MS", "_id"=>"MS", "slug"=>"micronesia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-tevin4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5353ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-tevin4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Tevin4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-tevin4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-tevin4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2666ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Tevin4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2620ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aa8b6d696d400e130000'), "name"=>{"en"=>"East Tevin4"}, "geom"=>[-44.0, 0.0], "nation_id"=>"MS", "slug"=>"east-tevin4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3894ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-44.0, 0.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5148ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2918ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6058ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2797ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6651ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-cleveland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-cleveland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5433ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Cleveland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6567ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guatemala"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4595ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guatemala"}, "abbr"=>"GU", "_id"=>"GU", "slug"=>"guatemala"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.5047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4888ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a030000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -7.0], "nation_id"=>"GU", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6481ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.0111ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a040000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0256ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cameroon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3893ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cameroon"}, "abbr"=>"CR", "_id"=>"CR", "slug"=>"cameroon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-alycia1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-alycia1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3893ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Alycia1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4238ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-alycia1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-alycia1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3481ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Alycia1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4824ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a070000'), "name"=>{"en"=>"Port Alycia1"}, "geom"=>[-29.0, -28.0], "nation_id"=>"CR", "slug"=>"port-alycia1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6134ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.8291ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.6880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-koryville2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3982ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-koryville2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Koryville2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3911ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aaea6d696d402a0b0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4198ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a0d0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aaea6d696d402a0b0000'), "slug"=>"patopolis", "nation_id"=>"NI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9579ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0aaea6d696d402a0c0000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4540ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a0e0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0aaea6d696d402a0c0000'), "slug"=>"patopolis-mg", "nation_id"=>"CP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.2471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4661ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3471ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a110000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5213ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7506ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0753ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7282ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3869ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"heard-island-and-mcdonald-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Heard Island and McDonald Islands"}, "abbr"=>"HN", "_id"=>"HN", "slug"=>"heard-island-and-mcdonald-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-camylle3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-camylle3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Camylle3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2840ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-camylle3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-camylle3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Camylle3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3341ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a120000'), "name"=>{"en"=>"Lake Camylle3"}, "geom"=>[-22.0, -26.0], "nation_id"=>"HN", "slug"=>"lake-camylle3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, -26.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 1.2477ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.5116ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3805ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2819ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"hungary"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3088ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Hungary"}, "abbr"=>"HN", "_id"=>"HN", "slug"=>"hungary"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sanfordchester4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sanfordchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1762ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sanfordchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sanfordchester4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sanfordchester4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Sanfordchester4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2372ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a130000'), "name"=>{"en"=>"Sanfordchester4"}, "geom"=>[-48.0, -4.0], "nation_id"=>"HN", "slug"=>"sanfordchester4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3112ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2458ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UF", "_id"=>"UF", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3126ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aaea6d696d402a130000')} update={"$set"=>{"nation_id"=>"UF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2658ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3700ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3806ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"myanmar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1677ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2054ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Myanmar"}, "abbr"=>"MO", "_id"=>"MO", "slug"=>"myanmar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5974ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pacochaton5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pacochaton5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pacochaton5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pacochaton5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pacochaton5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1572ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pacochaton5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1783ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0aaea6d696d402a140000'), "name"=>{"en"=>"Pacochaton5"}, "geom"=>[-38.0, -30.0], "nation_id"=>"MO", "slug"=>"pacochaton5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2139ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-of-america"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1587ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United States of America"}, "abbr"=>"UA", "_id"=>"UA", "slug"=>"united-states-of-america"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2348ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0aaea6d696d402a140000')} update={"$set"=>{"nation_id"=>"UA"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3944ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3612ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2920ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.6385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-vincent-and-the-grenadines"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4338ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3952ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Vincent and the Grenadines"}, "abbr"=>"SL", "_id"=>"SL", "slug"=>"saint-vincent-and-the-grenadines"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.3515ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-ottoport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 24.3068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SL", "$or"=>[{"name.en"=>"North Ottoport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SL", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-ottoport"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SL", "$or"=>[{"name.en"=>"North Ottoport"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SL", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5750ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54a0ab6a6d696d404d000000'), "name"=>{"en"=>"North Ottoport"}, "abbr"=>"NOR", "nation_id"=>"SL", "slug"=>"north-ottoport"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 4.1168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7163ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 1.1405ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 3.3656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-hadley0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-hadley0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4282ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Hadley0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-marilynehaven1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-marilynehaven1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Marilynehaven1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5275ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6318ms MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6059ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"II"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"II"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4857ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"II", "_id"=>"II", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.8263ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"eribertoland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4794ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"II", "$or"=>[{"name.en"=>"Eribertoland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"II", "abbr"=>"ERI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"eribertoland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"II", "$or"=>[{"name.en"=>"Eribertoland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"II", "abbr"=>"ERI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54a0ab6f6d696d4061000000'), "name"=>{"en"=>"Eribertoland"}, "abbr"=>"ERI", "nation_id"=>"II", "slug"=>"eribertoland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0650ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6813ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"brekkeberg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RT", "$or"=>[{"name.en"=>"Brekkeberg"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RT", "abbr"=>"BRE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-michaelaview"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NF", "$or"=>[{"name.en"=>"South Michaelaview"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NF", "abbr"=>"SOU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3583ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4184ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"west-gunnar0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"West Gunnar0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-lucinda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NJ", "$or"=>[{"name.en"=>"South Lucinda"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"NJ", "abbr"=>"SOU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1777ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1490ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1469ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1254ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TW", "_id"=>"TW", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5601ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"josefaland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"josefaland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Josefaland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1415ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"josefaland0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"josefaland0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4377ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Josefaland0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4220ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0abc76d696d4081010000'), "name"=>{"en"=>"Josefaland0"}, "geom"=>[-21.0, -28.0], "nation_id"=>"TW", "slug"=>"josefaland0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-corneliusstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abc76d696d4081010000'), "$or"=>[{"name.en"=>"New Corneliusstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-corneliusstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1782ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abc76d696d4081010000'), "$or"=>[{"name.en"=>"New Corneliusstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1962ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54a0abc76d696d4081020000'), "name"=>{"en"=>"New Corneliusstad1"}, "city_id"=>BSON::ObjectId('54a0abc76d696d4081010000'), "slug"=>"new-corneliusstad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5331ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2916ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4267ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4599ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.3474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-cheyenne"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AI", "$or"=>[{"name.en"=>"Lake Cheyenne"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AI", "abbr"=>"LAK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2070ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-inestown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2687ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abd76d696d4095000000'), "$or"=>[{"name.en"=>"South Inestown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2867ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"samoa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3535ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Samoa"}, "abbr"=>"SF", "_id"=>"SF", "slug"=>"samoa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.9729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kylerside1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kylerside1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Kylerside1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-kylerside1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2213ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-kylerside1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1767ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Kylerside1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2091ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0abd76d696d4095020000'), "name"=>{"en"=>"Port Kylerside1"}, "geom"=>[-28.0, 7.0], "nation_id"=>"SF", "slug"=>"port-kylerside1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4925ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-julesport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abd76d696d4095020000'), "$or"=>[{"name.en"=>"Lake Julesport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2491ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-julesport1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abd76d696d4095020000'), "$or"=>[{"name.en"=>"Lake Julesport1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2207ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54a0abd76d696d4095030000'), "name"=>{"en"=>"Lake Julesport1"}, "city_id"=>BSON::ObjectId('54a0abd76d696d4095020000'), "slug"=>"lake-julesport1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5091ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4734ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5324ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.5030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-gayle2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0abd76d696d4095040000'), "$or"=>[{"name.en"=>"Lake Gayle2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1836ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1791ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-aurore3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Port Aurore3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1733ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3617ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RP", "_id"=>"RP", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-madelynmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RP", "$or"=>[{"name.en"=>"Lake Madelynmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5865ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RP", "abbr"=>"LAK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3272ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-madelynmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3160ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RP", "$or"=>[{"name.en"=>"Lake Madelynmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RP", "abbr"=>"LAK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54a0abff6d696d40ac000000'), "name"=>{"en"=>"Lake Madelynmouth"}, "abbr"=>"LAK", "nation_id"=>"RP", "slug"=>"lake-madelynmouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4636ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.6943ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.6935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"kleinfurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4364ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FR", "$or"=>[{"name.en"=>"Kleinfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"FR", "abbr"=>"KLE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"madelynnmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3198ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HB", "$or"=>[{"name.en"=>"Madelynnmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HB", "abbr"=>"MAD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2731ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2721ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4145ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Norfolk Island"}, "abbr"=>"NJ", "_id"=>"NJ", "slug"=>"norfolk-island"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.5304ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rocioton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rocioton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Rocioton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4325ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"rocioton0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"rocioton0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3800ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Rocioton0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3594ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac046d696d40bf000000'), "name"=>{"en"=>"Rocioton0"}, "geom"=>[-45.0, -11.0], "nation_id"=>"NJ", "slug"=>"rocioton0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8365ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.7668ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.7225ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-hazle1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-hazle1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2714ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Hazle1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2722ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0ac046d696d40bf040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3866ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac046d696d40bf060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0ac046d696d40bf040000'), "slug"=>"patopolis", "nation_id"=>"MU"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7765ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('54a0ac046d696d40bf050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac046d696d40bf070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('54a0ac046d696d40bf050000'), "slug"=>"patopolis-mg", "nation_id"=>"PO"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4278ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3124ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3312ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf0a0000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3816ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2873ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, U.S."}, "abbr"=>"VO", "_id"=>"VO", "slug"=>"virgin-islands,-u.s."}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 14.7143ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3343ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3673ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3441ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3029ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf0b0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-26.0, -25.0], "nation_id"=>"VO", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6404ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4970ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-ubaldo2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-ubaldo2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2745ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Ubaldo2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2828ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3306ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2907ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2707ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2532ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3224ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf110000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0418ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.5713ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.7230ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2704ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3223ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5070ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TT", "_id"=>"TT", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.1813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"langworthhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"langworthhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2851ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Langworthhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2821ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"langworthhaven3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2708ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"langworthhaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Langworthhaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2449ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf120000'), "name"=>{"en"=>"Langworthhaven3"}, "geom"=>[-29.0, -28.0], "nation_id"=>"TT", "slug"=>"langworthhaven3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-29.0, -28.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3630ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.9180ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.4127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2516ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2179ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2071ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guyana"}, "abbr"=>"GJ", "_id"=>"GJ", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5430ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-columbus4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-columbus4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Columbus4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-columbus4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-columbus4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2548ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Columbus4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2776ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf130000'), "name"=>{"en"=>"New Columbus4"}, "geom"=>[-43.0, -6.0], "nation_id"=>"GJ", "slug"=>"new-columbus4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2559ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-barthelemy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Barthelemy"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"saint-barthelemy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3294ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0ac056d696d40bf130000')} update={"$set"=>{"nation_id"=>"SM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3926ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"new-caledonia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"New Caledonia"}, "abbr"=>"NP", "_id"=>"NP", "slug"=>"new-caledonia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-britney5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-britney5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Britney5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-britney5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-britney5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Britney5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf140000'), "name"=>{"en"=>"West Britney5"}, "geom"=>[-25.0, 0.0], "nation_id"=>"NP", "slug"=>"west-britney5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2357ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahrain"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1943ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahrain"}, "abbr"=>"BC", "_id"=>"BC", "slug"=>"bahrain"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2759ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('54a0ac056d696d40bf140000')} update={"$set"=>{"nation_id"=>"BC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3690ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2242ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-kitts-and-nevis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2119ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-kitts-and-nevis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1994ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Kitts and Nevis"}, "abbr"=>"SE", "_id"=>"SE", "slug"=>"saint-kitts-and-nevis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4788ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"noreneshire6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"noreneshire6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Noreneshire6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"noreneshire6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"noreneshire6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Noreneshire6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4425ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf150000'), "name"=>{"en"=>"Noreneshire6"}, "geom"=>[-45.0, 1.0], "nation_id"=>"SE", "slug"=>"noreneshire6"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 1.0185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-furman0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3646ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0ac056d696d40bf150000'), "$or"=>[{"name.en"=>"Lake Furman0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-furman0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2628ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0ac056d696d40bf150000'), "$or"=>[{"name.en"=>"Lake Furman0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2569ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf160000'), "name"=>{"en"=>"Lake Furman0"}, "city_id"=>BSON::ObjectId('54a0ac056d696d40bf150000'), "slug"=>"lake-furman0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3874ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 18.0620ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4567ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.4205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-asiaton1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"South Asiaton1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3153ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"sarinafurt2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0ac056d696d40bf170000'), "$or"=>[{"name.en"=>"Sarinafurt2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"bechtelarmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('54a0ac056d696d40bf190000'), "$or"=>[{"name.en"=>"Bechtelarmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2471ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"antigua-and-barbuda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2206ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Antigua and Barbuda"}, "abbr"=>"AF", "_id"=>"AF", "slug"=>"antigua-and-barbuda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.6178ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-wilmamouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2309ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AF", "$or"=>[{"name.en"=>"New Wilmamouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1863ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AF", "abbr"=>"NEW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2385ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-wilmamouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1903ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AF", "$or"=>[{"name.en"=>"New Wilmamouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2012ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AF", "abbr"=>"NEW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('54a0ac056d696d40bf1b0000'), "name"=>{"en"=>"New Wilmamouth"}, "abbr"=>"NEW", "nation_id"=>"AF", "slug"=>"new-wilmamouth"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2374ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3196ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.3320ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1853ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1775ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"hickleside"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1859ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"VW", "$or"=>[{"name.en"=>"Hickleside"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1813ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"VW", "abbr"=>"HIC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1562ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1698ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-bryon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1545ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TV", "$or"=>[{"name.en"=>"Lake Bryon"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1660ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TV", "abbr"=>"LAK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2026ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1459ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ID"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"ID", "_id"=>"ID", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4348ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1916ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"trinidad-and-tobago"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1776ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1505ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1576ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kyrgyz-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1640ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1499ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Kyrgyz Republic"}, "_id"=>"BR", "slug"=>"kyrgyz-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2005ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1563ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gibraltar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1530ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Gibraltar"}, "_id"=>"BR", "slug"=>"gibraltar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3823ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2528ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2938ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"papua-new-guinea"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1809ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2129ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Papua New Guinea"}, "_id"=>"BR", "slug"=>"papua-new-guinea"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1717ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"switzerland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Switzerland"}, "_id"=>"BR", "slug"=>"switzerland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.5047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2542ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3679ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2702ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-u.s."} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Virgin Islands, U.S."}, "_id"=>"BR", "slug"=>"virgin-islands,-u.s."}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"swaziland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1350ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1472ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1878ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1716ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1768ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1550ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1368ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Isle of Man"}, "abbr"=>"IK", "_id"=>"IK", "slug"=>"isle-of-man"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2032ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.3266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1561ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1302ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1272ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Portugal"}, "_id"=>"BR", "slug"=>"portugal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2499ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1837ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1621ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cuba"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1439ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1407ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Cuba"}, "_id"=>"BR", "slug"=>"cuba"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1420ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belize"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1256ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Belize"}, "_id"=>"BR", "slug"=>"belize"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1275ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"o'harachester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"o'harachester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"O'Harachester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1620ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1161ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"syrian-arab-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0925ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Syrian Arab Republic"}, "abbr"=>"SN", "_id"=>"SN", "slug"=>"syrian-arab-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"boehmshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"boehmshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Boehmshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"boehmshire1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"boehmshire1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0970ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Boehmshire1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610010000'), "name"=>{"en"=>"Boehmshire1"}, "geom"=>[-33.0, -26.0], "nation_id"=>"SN", "slug"=>"boehmshire1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2619ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2227ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1311ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('551d991f6d696d5610040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1228ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('551d991f6d696d5610040000'), "slug"=>"patopolis", "nation_id"=>"TQ"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1742ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1204ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('551d991f6d696d5610050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1078ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('551d991f6d696d5610050000'), "slug"=>"patopolis-mg", "nation_id"=>"LA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1414ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1474ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"port-johanna2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"port-johanna2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Port Johanna2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1015ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.0989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"afghanistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"afghanistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0904ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Afghanistan"}, "abbr"=>"AV", "_id"=>"AV", "slug"=>"afghanistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2623ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d56100b0000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-26.0, 9.0], "nation_id"=>"AV", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1831ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1431ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1951ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1989ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1268ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1435ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1028ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d56100e0000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2443ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1802ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1142ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1049ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610110000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2285ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1757ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"germany"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0920ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Germany"}, "abbr"=>"GT", "_id"=>"GT", "slug"=>"germany"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"christiansenmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"christiansenmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Christiansenmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"christiansenmouth3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"christiansenmouth3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Christiansenmouth3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1168ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610120000'), "name"=>{"en"=>"Christiansenmouth3"}, "geom"=>[-30.0, -2.0], "nation_id"=>"GT", "slug"=>"christiansenmouth3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jordan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0914ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Jordan"}, "abbr"=>"JU", "_id"=>"JU", "slug"=>"jordan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1313ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('551d991f6d696d5610120000')} update={"$set"=>{"nation_id"=>"JU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1923ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0944ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mayotte"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Mayotte"}, "abbr"=>"MB", "_id"=>"MB", "slug"=>"mayotte"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-dawnfort4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-dawnfort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Dawnfort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-dawnfort4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-dawnfort4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Dawnfort4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1238ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610130000'), "name"=>{"en"=>"South Dawnfort4"}, "geom"=>[-29.0, -11.0], "nation_id"=>"MB", "slug"=>"south-dawnfort4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"macao"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0920ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Macao"}, "abbr"=>"MF", "_id"=>"MF", "slug"=>"macao"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('551d991f6d696d5610130000')} update={"$set"=>{"nation_id"=>"MF"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1467ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1910ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1056ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1045ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2999ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tanzania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1096ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tanzania"}, "abbr"=>"TR", "_id"=>"TR", "slug"=>"tanzania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2540ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"klockoberg5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1888ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"klockoberg5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Klockoberg5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"klockoberg5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"klockoberg5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Klockoberg5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0995ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610140000'), "name"=>{"en"=>"Klockoberg5"}, "geom"=>[-26.0, -6.0], "nation_id"=>"TR", "slug"=>"klockoberg5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-26.0, -6.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2741ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2723ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3688ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1815ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"sipesmouth"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1555ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"DF", "$or"=>[{"name.en"=>"Sipesmouth"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"DF", "abbr"=>"SIP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1082ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"romania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"RK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0902ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Romania"}, "abbr"=>"RK", "_id"=>"RK", "slug"=>"romania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-eastertown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RK", "$or"=>[{"name.en"=>"North Eastertown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RK", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"north-eastertown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RK", "$or"=>[{"name.en"=>"North Eastertown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"RK", "abbr"=>"NOR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0947ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('551d991f6d696d5610160000'), "name"=>{"en"=>"North Eastertown"}, "abbr"=>"NOR", "nation_id"=>"RK", "slug"=>"north-eastertown"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1318ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1889ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.1830ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"yasmeenland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GA", "$or"=>[{"name.en"=>"Yasmeenland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1387ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GA", "abbr"=>"YAS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1691ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"east-coltenfort0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551d991f6d696d5610180000'), "$or"=>[{"name.en"=>"East Coltenfort0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1065ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1245ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1007ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TV", "_id"=>"TV", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2680ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-jonatan7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1232ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-jonatan7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Jonatan7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-jonatan7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1131ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-jonatan7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Jonatan7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1066ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551d991f6d696d56101a0000'), "name"=>{"en"=>"South Jonatan7"}, "geom"=>[-35.0, -27.0], "nation_id"=>"TV", "slug"=>"south-jonatan7"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2393ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-katelynn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551d991f6d696d56101a0000'), "$or"=>[{"name.en"=>"South Katelynn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-katelynn1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551d991f6d696d56101a0000'), "$or"=>[{"name.en"=>"South Katelynn1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1172ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('551d991f6d696d56101b0000'), "name"=>{"en"=>"South Katelynn1"}, "city_id"=>BSON::ObjectId('551d991f6d696d56101a0000'), "slug"=>"south-katelynn1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1493ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2224ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1953ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"grimesmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551d991f6d696d56101c0000'), "$or"=>[{"name.en"=>"Grimesmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"homenickville3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Homenickville3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1096ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3230ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uganda"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1695ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uganda"}, "abbr"=>"UJ", "_id"=>"UJ", "slug"=>"uganda"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1589ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1317ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1791ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4c6d696d5a20020000'), "name"=>{"en"=>"São Paulo"}, "geom"=>[-39.0, -23.0], "nation_id"=>"UJ", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3101ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1460ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2805ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1577ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1606ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4c6d696d5a20030000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1475ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('551dba4c6d696d5a20040000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1184ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4c6d696d5a20060000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('551dba4c6d696d5a20040000'), "slug"=>"patopolis", "nation_id"=>"KO"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2509ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>BSON::ObjectId('551dba4c6d696d5a20050000'), "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1420ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4c6d696d5a20070000'), "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>BSON::ObjectId('551dba4c6d696d5a20050000'), "slug"=>"patopolis-mg", "nation_id"=>"VP"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1479ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1378ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1892ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"nicklauschester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"nicklauschester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1092ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Nicklauschester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1155ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1166ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4c6d696d5a20090000'), "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2442ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1271ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"puerto-rico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1374ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"puerto-rico"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1187ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1071ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Puerto Rico"}, "abbr"=>"PB", "_id"=>"PB", "slug"=>"puerto-rico"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2928ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-gusstad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1226ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-gusstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Gusstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1346ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-gusstad1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1352ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-gusstad1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Gusstad1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1157ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20100000'), "name"=>{"en"=>"Lake Gusstad1"}, "geom"=>[-39.0, -1.0], "nation_id"=>"PB", "slug"=>"lake-gusstad1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2541ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1484ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1902ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-nikkostad2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1394ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-nikkostad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1345ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Nikkostad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1497ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1361ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0995ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0901ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GM", "_id"=>"GM", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2593ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"amiraside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1267ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"amiraside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Amiraside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1061ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"amiraside3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1287ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"amiraside3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Amiraside3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20120000'), "name"=>{"en"=>"Amiraside3"}, "geom"=>[-23.0, 5.0], "nation_id"=>"GM", "slug"=>"amiraside3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2804ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1319ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"british-indian-ocean-territory-(chagos-archipelago)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0929ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1379ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"British Indian Ocean Territory (Chagos Archipelago)"}, "abbr"=>"BU", "_id"=>"BU", "slug"=>"british-indian-ocean-territory-(chagos-archipelago)"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1552ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('551dba4d6d696d5a20120000')} update={"$set"=>{"nation_id"=>"BU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1370ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2083ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1766ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1301ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0966ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VI", "_id"=>"VI", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nonaville4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1079ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nonaville4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1367ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nonaville4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-nonaville4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-nonaville4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Nonaville4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0970ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20130000'), "name"=>{"en"=>"Lake Nonaville4"}, "geom"=>[-47.0, -13.0], "nation_id"=>"VI", "slug"=>"lake-nonaville4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belgium"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1064ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Belgium"}, "abbr"=>"BI", "_id"=>"BI", "slug"=>"belgium"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1303ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>BSON::ObjectId('551dba4d6d696d5a20130000')} update={"$set"=>{"nation_id"=>"BI"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1575ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1295ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1819ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1698ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3183ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2113ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"virgin-islands,-british"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"VF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0900ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Virgin Islands, British"}, "abbr"=>"VF", "_id"=>"VF", "slug"=>"virgin-islands,-british"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2257ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"torphyland5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1879ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"torphyland5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Torphyland5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"torphyland5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"torphyland5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Torphyland5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0995ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20140000'), "name"=>{"en"=>"Torphyland5"}, "geom"=>[-36.0, -7.0], "nation_id"=>"VF", "slug"=>"torphyland5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1595ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-36.0, -7.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2313ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1505ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3982ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0909ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Thailand"}, "abbr"=>"TF", "_id"=>"TF", "slug"=>"thailand"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2590ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"grahamborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"Grahamborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1140ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "abbr"=>"GRA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"grahamborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "$or"=>[{"name.en"=>"Grahamborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TF", "abbr"=>"GRA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0928ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20150000'), "name"=>{"en"=>"Grahamborough"}, "abbr"=>"GRA", "nation_id"=>"TF", "slug"=>"grahamborough"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2495ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1454ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1863ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-rubieland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GG", "$or"=>[{"name.en"=>"New Rubieland"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1206ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GG", "abbr"=>"NEW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.0998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-jedhaven"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AJ", "$or"=>[{"name.en"=>"West Jedhaven"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"AJ", "abbr"=>"WES"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.0969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1168ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1121ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1134ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burkina-faso"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1175ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Burkina Faso"}, "_id"=>"BR", "slug"=>"burkina-faso"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1157ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guam"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0945ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guam"}, "_id"=>"BR", "slug"=>"guam"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2422ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1213ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"holy-see-(vatican-city-state)"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1286ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0912ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guyana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0940ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GH"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0941ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guyana"}, "abbr"=>"GH", "_id"=>"GH", "slug"=>"guyana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1180ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"chad"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1033ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Chad"}, "_id"=>"BR", "slug"=>"chad"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 3.2749ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1807ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-georgia-and-the-south-sandwich-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1342ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1153ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"South Georgia and the South Sandwich Islands"}, "_id"=>"BR", "slug"=>"south-georgia-and-the-south-sandwich-islands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1178ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1795ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0893ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Poland"}, "abbr"=>"PA", "_id"=>"PA", "slug"=>"poland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2386ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-monserrate6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-monserrate6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1167ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Monserrate6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1175ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"new-monserrate6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"new-monserrate6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"New Monserrate6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1003ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20180000'), "name"=>{"en"=>"New Monserrate6"}, "geom"=>[-32.0, -9.0], "nation_id"=>"PA", "slug"=>"new-monserrate6"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2709ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"pollichport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1307ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551dba4d6d696d5a20180000'), "$or"=>[{"name.en"=>"Pollichport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"pollichport0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0937ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551dba4d6d696d5a20180000'), "$or"=>[{"name.en"=>"Pollichport0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0991ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>BSON::ObjectId('551dba4d6d696d5a20190000'), "name"=>{"en"=>"Pollichport0"}, "city_id"=>BSON::ObjectId('551dba4d6d696d5a20180000'), "slug"=>"pollichport0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2438ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1495ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1906ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1887ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.2086ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"erdmanview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1084ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551dba4d6d696d5a201a0000'), "$or"=>[{"name.en"=>"Erdmanview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1165ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"gerlachview2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>BSON::ObjectId('551dba4d6d696d5a201c0000'), "$or"=>[{"name.en"=>"Gerlachview2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.0960ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"lake-heaven3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1185ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Lake Heaven3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1207ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1164ms Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"china"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"china"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0981ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"China"}, "_id"=>"BR", "slug"=>"china"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 33.4568ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2212ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1517ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1194ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1788ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Bahamas"}, "_id"=>"BR", "slug"=>"bahamas"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3070ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"finland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1603ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1640ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1314ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1156ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"belarus"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Belarus"}, "_id"=>"BR", "slug"=>"belarus"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2584ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1393ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2003ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1000ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guadeloupe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0771ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Guadeloupe"}, "abbr"=>"GM", "_id"=>"GM", "slug"=>"guadeloupe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1452ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1785ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"nauru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1136ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1324ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"martinique"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Martinique"}, "_id"=>"BR", "slug"=>"martinique"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2316ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2524ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"murphyfurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HS", "$or"=>[{"name.en"=>"Murphyfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"HS", "abbr"=>"MUR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1547ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1378ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1020ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SP", "_id"=>"SP", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-brandy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SP", "$or"=>[{"name.en"=>"South Brandy"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SP", "abbr"=>"SOU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"south-brandy"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0902ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SP", "$or"=>[{"name.en"=>"South Brandy"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0958ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SP", "abbr"=>"SOU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0880ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>, "name"=>{"en"=>"South Brandy"}, "abbr"=>"SOU", "nation_id"=>"SP", "slug"=>"south-brandy"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1692ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.1566ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"perrybury"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MW", "$or"=>[{"name.en"=>"Perrybury"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"MW", "abbr"=>"PER"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1059ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1184ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-margaretta0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Port Margaretta0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0857ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bahamas"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1682ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bahamas"}, "abbr"=>"BL", "_id"=>"BL", "slug"=>"bahamas"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-evangeline0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1663ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-evangeline0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Evangeline0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1546ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-evangeline0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1483ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-evangeline0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1170ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Evangeline0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1212ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"East Evangeline0"}, "geom"=>[-32.0, 9.0], "nation_id"=>"BL", "slug"=>"east-evangeline0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2554ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"asiaburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Asiaburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"asiaburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Asiaburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1438ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>, "name"=>{"en"=>"Asiaburgh1"}, "city_id"=>, "slug"=>"asiaburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2638ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1815ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1812ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2191ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"sawaynstad2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1697ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Sawaynstad2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1501ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1850ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"kieranshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Kieranshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1281ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1642ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"hollieview4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Hollieview4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1234ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1326ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-malachi3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-malachi3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Malachi3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1266ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1211ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1145ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2703ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1841ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1164ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis", "nation_id"=>"MA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2454ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1658ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1744ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1639ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis-mg", "nation_id"=>"JI"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1492ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1845ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1597ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bolivia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1255ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bolivia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1041ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0984ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Bolivia"}, "abbr"=>"BO", "_id"=>"BO", "slug"=>"bolivia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1099ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1494ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0990ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0967ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1174ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"São Paulo"}, "geom"=>[-42.0, 8.0], "nation_id"=>"BO", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2428ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo$/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1873ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1773ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1095ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1736ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kennithland4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kennithland4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kennithland4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1408ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"dominican-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"DD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1003ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Dominican Republic"}, "abbr"=>"DD", "_id"=>"DD", "slug"=>"dominican-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2895ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mabletown5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mabletown5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0901ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Mabletown5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"mabletown5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"mabletown5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0986ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Mabletown5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0922ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Mabletown5"}, "geom"=>[-35.0, -22.0], "nation_id"=>"DD", "slug"=>"mabletown5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1395ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1691ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1586ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1158ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2539ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2298ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:nation_id=>1}, :name=>"nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2757ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1, :nation_id=>1}, :name=>"name_1_nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:sparse=>true, :ns=>"geopolitical_spec.cities", :key=>{:region_id=>1}, :name=>"region_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1152ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"tajikistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TI"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Tajikistan"}, "abbr"=>"TI", "_id"=>"TI", "slug"=>"tajikistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2410ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-elianview6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1783ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-elianview6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1667ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Elianview6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1630ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-elianview6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-elianview6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Elianview6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Lake Elianview6"}, "geom"=>[-34.0, -23.0], "nation_id"=>"TI", "slug"=>"lake-elianview6"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-34.0, -23.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7787ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2069ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3788ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1600ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d-ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0882ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"cote-d-ivoire"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0909ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0838ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Cote d'Ivoire"}, "abbr"=>"CP", "_id"=>"CP", "slug"=>"cote-d-ivoire"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-pearlchester7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-pearlchester7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Pearlchester7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-pearlchester7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0900ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-pearlchester7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0844ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Pearlchester7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1057ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"East Pearlchester7"}, "geom"=>[-46.0, -4.0], "nation_id"=>"CP", "slug"=>"east-pearlchester7"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2376ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1189ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"south-africa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0909ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"South Africa"}, "abbr"=>"SM", "_id"=>"SM", "slug"=>"south-africa"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1332ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"SM"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1943ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1436ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0906ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"turkey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0847ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Turkey"}, "abbr"=>"TT", "_id"=>"TT", "slug"=>"turkey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-wilton8"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-wilton8"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Wilton8"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0973ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lake-wilton8"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lake-wilton8"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0862ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lake Wilton8"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0935ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Lake Wilton8"}, "geom"=>[-42.0, -24.0], "nation_id"=>"TT", "slug"=>"lake-wilton8"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1070ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"thailand"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"TT"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1501ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1705ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1724ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1089ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7009ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"pouroschester0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1827ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"pouroschester0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Pouroschester0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0984ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"algeria"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0935ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Algeria"}, "abbr"=>"AW", "_id"=>"AW", "slug"=>"algeria"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-giovani1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1040ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-giovani1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Giovani1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"north-giovani1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1205ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"north-giovani1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"North Giovani1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1015ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"North Giovani1"}, "geom"=>[-40.0, -13.0], "nation_id"=>"AW", "slug"=>"north-giovani1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1679ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1989ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2356ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1158ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0968ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saudi-arabia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0955ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0975ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saudi Arabia"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"saudi-arabia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2518ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0991ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0979ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0948ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"São Paulo"}, "geom"=>[-27.0, 1.0], "nation_id"=>"SG", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2682ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo$/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1959ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1889ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1810ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1354ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1287ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis", "nation_id"=>"AN"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2389ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1746ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1190ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1150ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis-mg", "nation_id"=>"SR"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1684ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1305ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1068ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0964ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1053ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1367ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1957ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1060ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2543ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1419ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-marielatown2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-marielatown2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1090ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Marielatown2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1149ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1014ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1270ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2582ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2468ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:nation_id=>1}, :name=>"nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2474ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1, :nation_id=>1}, :name=>"name_1_nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:sparse=>true, :ns=>"geopolitical_spec.cities", :key=>{:region_id=>1}, :name=>"region_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greece"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"greece"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1007ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Greece"}, "abbr"=>"GN", "_id"=>"GN", "slug"=>"greece"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2423ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-jenaburgh3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1825ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-jenaburgh3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1271ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Jenaburgh3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1240ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"west-jenaburgh3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1380ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"west-jenaburgh3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"West Jenaburgh3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1134ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"West Jenaburgh3"}, "geom"=>[-24.0, -21.0], "nation_id"=>"GN", "slug"=>"west-jenaburgh3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1729ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-24.0, -21.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7327ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1637ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4083ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1752ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"albania"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0945ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0907ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Albania"}, "abbr"=>"AC", "_id"=>"AC", "slug"=>"albania"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emmerichbury4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emmerichbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emmerichbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"emmerichbury4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"emmerichbury4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0924ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Emmerichbury4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1010ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Emmerichbury4"}, "geom"=>[-36.0, -27.0], "nation_id"=>"AC", "slug"=>"emmerichbury4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2260ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1448ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"india"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1012ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"India"}, "abbr"=>"IV", "_id"=>"IV", "slug"=>"india"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1533ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"IV"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1760ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1441ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1794ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1720ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1060ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Martin"}, "abbr"=>"SC", "_id"=>"SC", "slug"=>"saint-martin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lynchview5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lynchview5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lynchview5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1045ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lynchview5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lynchview5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lynchview5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1002ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Lynchview5"}, "geom"=>[-40.0, -24.0], "nation_id"=>"SC", "slug"=>"lynchview5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1113ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1229ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"kazakhstan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"KP"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1125ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Kazakhstan"}, "abbr"=>"KP", "_id"=>"KP", "slug"=>"kazakhstan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1532ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"KP"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1735ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1464ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1786ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1849ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-isobel0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1280ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"North Isobel0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1138ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"gabon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0916ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Gabon"}, "abbr"=>"GR", "_id"=>"GR", "slug"=>"gabon"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-tressa7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-tressa7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Tressa7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1261ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-tressa7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0922ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-tressa7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Tressa7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1117ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"South Tressa7"}, "geom"=>[-21.0, -26.0], "nation_id"=>"GR", "slug"=>"south-tressa7"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2276ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"mcculloughburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"McCulloughburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0987ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"mcculloughburgh1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"McCulloughburgh1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0987ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>, "name"=>{"en"=>"McCulloughburgh1"}, "city_id"=>, "slug"=>"mcculloughburgh1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2432ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1753ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1750ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.2253ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-erlington2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Port Erlington2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1265ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1163ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"south-odieview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"South Odieview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1611ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"charleneshire4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Charleneshire4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1235ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"sallietown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1049ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GI", "$or"=>[{"name.en"=>"Sallietown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1028ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"GI", "abbr"=>"SAL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1129ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"new-sienna"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SE", "$or"=>[{"name.en"=>"New Sienna"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SE", "abbr"=>"NEW"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0969ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1102ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1011ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1071ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1063ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"uzbekistan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UJ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0924ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Uzbekistan"}, "abbr"=>"UJ", "_id"=>"UJ", "slug"=>"uzbekistan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3251ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"edythtown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1013ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UJ", "$or"=>[{"name.en"=>"Edythtown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UJ", "abbr"=>"EDY"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0947ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"edythtown"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UJ", "$or"=>[{"name.en"=>"Edythtown"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1107ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UJ", "abbr"=>"EDY"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0953ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>, "name"=>{"en"=>"Edythtown"}, "abbr"=>"EDY", "nation_id"=>"UJ", "slug"=>"edythtown"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1552ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1982ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.2019ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0915ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"grenada"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0923ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Grenada"}, "_id"=>"BR", "slug"=>"grenada"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2560ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1881ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1835ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1197ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-states-minor-outlying-islands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1137ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0943ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1162ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"moldova"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0908ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Moldova"}, "_id"=>"BR", "slug"=>"moldova"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2564ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1874ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1315ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"central-african-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"central-african-republic"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1066ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Central African Republic"}, "_id"=>"BR", "slug"=>"central-african-republic"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"libyan-arab-jamahiriya"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1186ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1336ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1740ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1038ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0952ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"portugal"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PN"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0932ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Portugal"}, "abbr"=>"PN", "_id"=>"PN", "slug"=>"portugal"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2217ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1332ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1632ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1064ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"jersey"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1029ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0931ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Jersey"}, "_id"=>"BR", "slug"=>"jersey"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1307ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1706ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6656ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"west-santosside0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1397ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"West Santosside0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1176ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1648ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"bergstromview1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1088ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Bergstromview1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1123ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1214ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"nitzschemouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Nitzschemouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1146ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"eddieshire3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1278ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Eddieshire3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1037ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1220ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1141ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0961ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"andorra"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0975ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AF"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Andorra"}, "abbr"=>"AF", "_id"=>"AF", "slug"=>"andorra"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3262ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carletonmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carletonmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0977ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Carletonmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"carletonmouth2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"carletonmouth2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Carletonmouth2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Carletonmouth2"}, "geom"=>[-46.0, 7.0], "nation_id"=>"AF", "slug"=>"carletonmouth2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2615ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-josie4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1031ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"New Josie4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-josie4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"New Josie4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1010ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>, "name"=>{"en"=>"New Josie4"}, "city_id"=>, "slug"=>"new-josie4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2686ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1622ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1918ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1862ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.1792ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liechtenstein"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"liechtenstein"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0962ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1149ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Liechtenstein"}, "_id"=>"BR", "slug"=>"liechtenstein"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1489ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1684ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"bouvet-island--bouvetoya-"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0923ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"mali"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0956ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1211ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Mali"}, "_id"=>"BR", "slug"=>"mali"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2519ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1641ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1297ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1784ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1201ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1004ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0913ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"burundi"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0910ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Burundi"}, "_id"=>"BR", "slug"=>"burundi"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2339ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"israel"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1100ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1748ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2381ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1252ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"peru"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"PM"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0910ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Peru"}, "abbr"=>"PM", "_id"=>"PM", "slug"=>"peru"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2606ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1375ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1833ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1054ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-lucia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0951ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0921ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Saint Lucia"}, "_id"=>"BR", "slug"=>"saint-lucia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2249ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1616ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1144ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0926ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1450ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis", "nation_id"=>"AK"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1774ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1122ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1067ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1123ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis-mg", "nation_id"=>"BA"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1618ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1274ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1193ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"zimbabwe"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0946ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"ZQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Zimbabwe"}, "abbr"=>"ZQ", "_id"=>"ZQ", "slug"=>"zimbabwe"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2480ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ullrichton3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0966ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ullrichton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0965ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ullrichton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ullrichton3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ullrichton3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ullrichton3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0987ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Ullrichton3"}, "geom"=>[-25.0, -30.0], "nation_id"=>"ZQ", "slug"=>"ullrichton3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2513ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1465ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1935ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1739ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0917ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2200ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1322ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1701ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1024ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ireland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0927ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0909ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ireland"}, "abbr"=>"IL", "_id"=>"IL", "slug"=>"ireland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2224ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0933ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1003ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1349ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0914ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0997ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -8.0], "nation_id"=>"IL", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2296ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo$/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1920ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1334ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1849ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1668ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1066ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1173ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2150ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1878ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"south-irwin4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1127ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"south-irwin4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"South Irwin4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1042ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1329ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"predovicfort5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"predovicfort5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0963ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Predovicfort5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1105ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1299ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1239ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1023ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0938ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"angola"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"AA"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0925ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Angola"}, "abbr"=>"AA", "_id"=>"AA", "slug"=>"angola"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"issacfurt6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"issacfurt6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Issacfurt6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"issacfurt6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"issacfurt6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Issacfurt6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0971ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Issacfurt6"}, "geom"=>[-42.0, -12.0], "nation_id"=>"AA", "slug"=>"issacfurt6"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2486ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ecuador"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1036ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"EU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1024ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ecuador"}, "abbr"=>"EU", "_id"=>"EU", "slug"=>"ecuador"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1822ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"EU"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1842ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1457ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1892ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1078ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1093ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"madagascar"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"MQ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0907ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Madagascar"}, "abbr"=>"MQ", "_id"=>"MQ", "slug"=>"madagascar"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2506ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"roobstad7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0981ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"roobstad7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0930ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Roobstad7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1021ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"roobstad7"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0916ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"roobstad7"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0919ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Roobstad7"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1027ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Roobstad7"}, "geom"=>[-30.0, -8.0], "nation_id"=>"MQ", "slug"=>"roobstad7"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2413ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1120ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"ghana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"GL"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1083ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Ghana"}, "abbr"=>"GL", "_id"=>"GL", "slug"=>"ghana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1372ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"GL"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1527ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1869ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1773ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2293ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2167ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:nation_id=>1}, :name=>"nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2289ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1, :nation_id=>1}, :name=>"name_1_nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2205ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:sparse=>true, :ns=>"geopolitical_spec.cities", :key=>{:region_id=>1}, :name=>"region_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1087ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0931ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-southern-territories"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0932ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FV"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1067ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Southern Territories"}, "abbr"=>"FV", "_id"=>"FV", "slug"=>"french-southern-territories"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2277ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lacyville8"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1726ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lacyville8"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1246ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lacyville8"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1166ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"lacyville8"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1359ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"lacyville8"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1109ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Lacyville8"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1219ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Lacyville8"}, "geom"=>[-32.0, -11.0], "nation_id"=>"FV", "slug"=>"lacyville8"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2447ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-32.0, -11.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7401ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1659ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.4180ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1734ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1098ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0999ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"west-ronnyborough"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TI", "$or"=>[{"name.en"=>"West Ronnyborough"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"TI", "abbr"=>"WES"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1104ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1111ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0936ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"japan"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0921ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"JG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0924ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Japan"}, "abbr"=>"JG", "_id"=>"JG", "slug"=>"japan"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2798ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"alekfurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JG", "$or"=>[{"name.en"=>"Alekfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1027ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JG", "abbr"=>"ALE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0950ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"alekfurt"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0935ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JG", "$or"=>[{"name.en"=>"Alekfurt"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1075ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"JG", "abbr"=>"ALE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0930ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>, "name"=>{"en"=>"Alekfurt"}, "abbr"=>"ALE", "nation_id"=>"JG", "slug"=>"alekfurt"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2460ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1576ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1847ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.2128ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"suzannefort"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "$or"=>[{"name.en"=>"Suzannefort"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1035ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"CG", "abbr"=>"SUZ"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0941ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1106ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0992ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1174ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1218ms Overwriting existing field _id in class Nation. MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"alveratown0"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2411ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"alveratown0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1500ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Alveratown0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2585ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1427ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1539ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1573ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "slug"=>"patopolis", "souls"=>100000}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.4498ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1843ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.2456ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"macgyverland1"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"macgyverland1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1426ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"MacGyverland1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1769ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1371ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1398ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1283ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1288ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"congo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1085ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"CS"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Congo"}, "abbr"=>"CS", "_id"=>"CS", "slug"=>"congo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3264ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stromanland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1095ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stromanland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stromanland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1208ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"stromanland2"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"stromanland2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1025ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Stromanland2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1115ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Stromanland2"}, "geom"=>[-43.0, -28.0], "nation_id"=>"CS", "slug"=>"stromanland2"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1512ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1840ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1711ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1103ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0886ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-martin"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0875ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Martin"}, "abbr"=>"SO", "_id"=>"SO", "slug"=>"saint-martin"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2303ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1001ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0905ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"sao-paulo"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1047ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"sao-paulo"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1294ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"São Paulo"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"São Paulo"}, "geom"=>[-29.0, -4.0], "nation_id"=>"SO", "slug"=>"sao-paulo"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2440ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>/^sao-paulo$/i}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1812ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1319ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1688ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1671ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1241ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1073ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0918ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1010ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis", "nation_id"=>"MB"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2476ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1779ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis-mg"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1453ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis-mg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1192ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1322ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "region_id"=>, "slug"=>"patopolis-mg", "nation_id"=>"FV"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1574ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1540ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1770ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1462ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"patopolis"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1177ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"patopolis"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0817ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Patópolis"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1018ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Patópolis"}, "souls"=>100000, "slug"=>"patopolis"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2553ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1316ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1880ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1115ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0884ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"french-guiana"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0897ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"FC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0958ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"French Guiana"}, "abbr"=>"FC", "_id"=>"FC", "slug"=>"french-guiana"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2816ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ferryfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1016ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ferryfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0899ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ferryfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1058ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"ferryfort3"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0876ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"ferryfort3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0870ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Ferryfort3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0957ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Ferryfort3"}, "geom"=>[-43.0, -19.0], "nation_id"=>"FC", "slug"=>"ferryfort3"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2308ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1250ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iran"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0972ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IB"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0918ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Iran"}, "abbr"=>"IB", "_id"=>"IB", "slug"=>"iran"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1512ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"IB"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1885ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1428ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1890ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1617ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1043ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"netherlands"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0942ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NE"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0857ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Netherlands"}, "abbr"=>"NE", "_id"=>"NE", "slug"=>"netherlands"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2508ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cruickshankport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1007ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruickshankport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruickshankport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1417ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"cruickshankport4"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0890ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"cruickshankport4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Cruickshankport4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0925ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Cruickshankport4"}, "geom"=>[-30.0, -18.0], "nation_id"=>"NE", "slug"=>"cruickshankport4"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2228ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1070ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0954ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"isle-of-man"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1057ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"IC"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0909ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Isle of Man"}, "abbr"=>"IC", "_id"=>"IC", "slug"=>"isle-of-man"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1354ms MOPED: 127.0.0.1:27017 UPDATE database=geopolitical_spec collection=cities selector={"_id"=>} update={"$set"=>{"nation_id"=>"IC"}} flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1591ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1749ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1625ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>""}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1182ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>""} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0939ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>""}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1076ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1113ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:slug=>1}, :name=>"slug_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3706ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1}, :name=>"name_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2576ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:geom=>"2d"}, :name=>"geom_2d"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2166ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:nation_id=>1}, :name=>"nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2210ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:ns=>"geopolitical_spec.cities", :key=>{:name=>1, :nation_id=>1}, :name=>"name_1_nation_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.8414ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=system.indexes documents=[{:sparse=>true, :ns=>"geopolitical_spec.cities", :key=>{:region_id=>1}, :name=>"region_id_1"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2801ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1191ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1018ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"namibia"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1051ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"NU"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1133ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Namibia"}, "abbr"=>"NU", "_id"=>"NU", "slug"=>"namibia"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2536ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kalebburgh5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2080ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kalebburgh5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1644ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kalebburgh5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1336ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"kalebburgh5"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1643ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"kalebburgh5"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1188ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"Kalebburgh5"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1047ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"Kalebburgh5"}, "geom"=>[-22.0, -10.0], "nation_id"=>"NU", "slug"=>"kalebburgh5"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.1531ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"geom"=>{"$nearSphere"=>[-22.0, -10.0]}}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7759ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1647ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.3926ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1753ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1181ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1050ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0864ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"iceland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0993ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Iceland"}, "_id"=>"BR", "slug"=>"iceland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 2.6872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1715ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1456ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2216ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1108ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1046ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"niger"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1053ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1029ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Niger"}, "_id"=>"BR", "slug"=>"niger"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2725ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"djibouti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1196ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1318ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1500ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"norfolk-island"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1221ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>nil} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1052ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1209ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1132ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0996ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"haiti"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1006ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"HD"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1112ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Haiti"}, "abbr"=>"HD", "_id"=>"HD", "slug"=>"haiti"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2388ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.2044ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1269ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1081ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0998ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"poland"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1002ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1099ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Poland"}, "_id"=>"BR", "slug"=>"poland"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2396ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.1466ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1449ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1695ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1243ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"guinea-bissau"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1409ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"BR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1011ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"abbr"=>"BR", "name"=>{"en"=>"Guinea-Bissau"}, "_id"=>"BR", "slug"=>"guinea-bissau"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2237ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1693ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"geovanyberg"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1172ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UM", "$or"=>[{"name.en"=>"Geovanyberg"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1135ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"UM", "abbr"=>"GEO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1030ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1259ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1504ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0993ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"saint-helena"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1626ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"SG"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1001ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"Saint Helena"}, "abbr"=>"SG", "_id"=>"SG", "slug"=>"saint-helena"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2434ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"port-jeanne"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "$or"=>[{"name.en"=>"Port Jeanne"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1126ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "abbr"=>"POR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"port-jeanne"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0988ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "$or"=>[{"name.en"=>"Port Jeanne"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"SG", "abbr"=>"POR"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1017ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=regions documents=[{"_id"=>, "name"=>{"en"=>"Port Jeanne"}, "abbr"=>"POR", "nation_id"=>"SG", "slug"=>"port-jeanne"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3069ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1689ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1801ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"regions"} runtime: 0.2125ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"lake-karson"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1297ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"LQ", "$or"=>[{"name.en"=>"Lake Karson"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1147ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>"LQ", "abbr"=>"LAK"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1083ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1248ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"slug"=>"amapa"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1110ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=regions selector={"nation_id"=>nil, "$or"=>[{"name.en"=>"Amapá"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1227ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1151ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1118ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1008ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"slug"=>"united-kingdom"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1039ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=nations selector={"abbr"=>"UO"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0989ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=nations documents=[{"name"=>{"en"=>"United Kingdom"}, "abbr"=>"UO", "_id"=>"UO", "slug"=>"united-kingdom"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.3236ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-wilburnton6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0994ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilburnton6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0872ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilburnton6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0934ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"$query"=>{"slug"=>"east-wilburnton6"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.0860ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"slug"=>"east-wilburnton6"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0847ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=cities selector={"region_id"=>nil, "$or"=>[{"name.en"=>"East Wilburnton6"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0898ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=cities documents=[{"_id"=>, "name"=>{"en"=>"East Wilburnton6"}, "geom"=>[-36.0, 3.0], "nation_id"=>"UO", "slug"=>"east-wilburnton6"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2473ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"blazeburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0953ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Blazeburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0949ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"blazeburgh0"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0852ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Blazeburgh0"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1032ms MOPED: 127.0.0.1:27017 INSERT database=geopolitical_spec collection=hoods documents=[{"_id"=>, "name"=>{"en"=>"Blazeburgh0"}, "city_id"=>, "slug"=>"blazeburgh0"}] flags=[] COMMAND database=geopolitical_spec command={:getlasterror=>1, :w=>1} runtime: 0.2538ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1424ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"nations"} runtime: 0.1581ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"cities"} runtime: 0.1899ms MOPED: 127.0.0.1:27017 COMMAND database=geopolitical_spec command={:drop=>"hoods"} runtime: 0.1772ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"new-gillian1"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1048ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"New Gillian1"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1077ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1032ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-mossie2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1290ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"Port Mossie2"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1022ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1020ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"north-sabinaview3"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1034ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>nil, "$or"=>[{"name.en"=>"North Sabinaview3"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.0997ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1062ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"slug"=>"port-arnulfo4"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1148ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=hoods selector={"city_id"=>, "$or"=>[{"name.en"=>"Port Arnulfo4"}]} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.1074ms MOPED: 127.0.0.1:27017 QUERY database=geopolitical_spec collection=system.namespaces selector={:name=>{"$not"=>/geopolitical_spec\.system\.|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1032ms Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation. Overwriting existing field _id in class Nation.