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