MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0819ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3634ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac576fe0e2d15b1000630')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6308ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000631')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6508ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000632')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000633')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4408ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000634')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4125ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000635')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9483ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3185ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2830ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3146ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2999ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4932ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3141ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3362ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3908ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2836ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8766ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2640ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3046ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3417ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8714ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3651ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3379ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2917ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2891ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2669ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6117ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6752ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3293ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2943ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3878ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3714ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4179ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1446ms Creating scope :public. Overwriting existing method AppModel2.public. Creating scope :page. Overwriting existing method Gallery.page. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3043ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0538ms Creating scope :public. Overwriting existing method AppModel2.public. Creating scope :page. Overwriting existing method Gallery.page. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9440ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3622ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3679ms Creating scope :public. Overwriting existing method Report.public. Creating scope :public. Overwriting existing method Venue.public. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4686ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8055ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000000'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3032ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000001'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3419ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000002'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2570ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000003'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6302ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000004'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4096ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3376ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000005'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5864ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8053ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ac576fe0e2d15b100062d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4715ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ac576fe0e2d15b100062f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7028ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ac576fe0e2d15b100062e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5965ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000006'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5152ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4710ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000007'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4845ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000008'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4036ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3762ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000009'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000000'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000006'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3315ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000000'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000006'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5051ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3955ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c00000a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000009')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5098ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b100063d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b100063f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000641')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3481ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000643')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000006')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6785ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000008')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5330ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000007')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000004'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000006'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000639')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4257ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b100063a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b100063b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b100063c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4239ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000638')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000637')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3724ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ac577fe0e2d15b1000636')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3783ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2985ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2846ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000d'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6991ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5141ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3571ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7379ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000000')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000001')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000002')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3424ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000003')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3685ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000004')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4150ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000005')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2953ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000010'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4212ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000011'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3414ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000012'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4225ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000013'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000014'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 13.1568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3020ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3230ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000015'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6527ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000006')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000008')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000007')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4575ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000016'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4708ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5005ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000017'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5212ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5012ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000018'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4997ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3921ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000009')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3496ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000019'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000010'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000016'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4220ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000010'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000016'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000010')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3730ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c00001a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4044ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000010')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4374ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000019')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5337ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000016')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00001b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5531ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6188ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000018')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00001b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5438ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5232ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000017')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00001b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5529ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000014'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000016'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4501ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00000d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3090ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2972ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2938ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001d'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4809ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6309ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6091ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000010')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000011')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000012')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3808ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000013')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000014')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000015')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3036ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3008ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000020'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3175ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000021'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3628ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000022'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4144ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000023'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.1400ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4606ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3069ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000024'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3772ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000025'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7602ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000016')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000018')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000017')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6893ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000026'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5525ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4561ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000027'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4932ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6142ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000028'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5359ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4993ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4484ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000019')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4251ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4131ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000029'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000020'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000026'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3461ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000020'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000026'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4413ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000020')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c00002a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000020')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000029')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3539ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000026')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00002b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5203ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000028')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00002b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5454ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5612ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000027')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00002b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5058ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000024'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000026'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00001d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002d'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5354ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4988ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3664ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6555ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000020')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000021')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000022')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000023')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000024')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3769ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000025')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2946ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000030'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3009ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000031'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5153ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3566ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3118ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000032'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2881ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000033'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3272ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000034'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000035'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4967ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6870ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000026')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000028')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000027')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5148ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000036'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4965ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4621ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000037'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4529ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000038'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000029')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3698ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3235ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000039'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000030'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000036'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3230ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000030'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000036'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000030')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c00003a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000030')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4114ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000039')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4368ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3583ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4976ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000036')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00003b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5454ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6568ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000038')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00003b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5588ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000037')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00003b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5061ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000034'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000036'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3321ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4114ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00002d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2973ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3293ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003d'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6285ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000030')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3868ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000031')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000032')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3413ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000033')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3320ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000034')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3340ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000035')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4446ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000040'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8167ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2906ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000041'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2902ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000042'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3838ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000043'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 3.3231ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2940ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000044'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4207ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3369ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000045'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6874ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000036')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000038')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3615ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000037')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3540ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4671ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000046'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5489ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4220ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000047'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6845ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5358ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000048'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7068ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000039')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5220ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4120ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000049'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000040'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000046'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4651ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2982ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000040'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000046'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4727ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000040')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c00004a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3924ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000040')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000049')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3283ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4779ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000046')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00004b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5363ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000048')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00004b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5068ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000047')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c00004b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5378ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000044'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000046'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5862ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000040')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000041')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000042')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3498ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000043')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3459ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000044')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000045')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4234ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3135ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7603ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3875ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2999ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3045ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000050'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3174ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000051'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000052'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6792ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000046')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000048')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000047')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5164ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000053'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4752ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5132ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000054'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4377ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000055'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4722ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4504ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3665ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000049')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4114ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3682ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000056'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000053'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3723ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000057'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000053'), "updated_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6123ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4018ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000057')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdafe0e2d354c000056')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3812ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000053')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000059'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c000058'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5747ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000055')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000059'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c000058'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5493ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5314ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000054')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000059'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdafe0e2d354c000058'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5928ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c000058'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c000051'), "site_id"=>BSON::ObjectId('572acfdafe0e2d354c000053'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5090ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3909ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00004f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000050')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000051')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000052')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2878ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7951ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3247ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4112ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2973ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5445ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2990ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:14 UTC, "created_at"=>2016-05-05 04:45:14 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2908ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6402ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000053')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000055')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000054')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4617ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4446ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4952ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000061'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4982ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4548ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000062'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4606ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000057')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000056')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3726ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4299ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000063'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3815ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000064'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4628ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000064')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000063')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4607ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c000058')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3647ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3139ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4815ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000066'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000065'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5079ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000062')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000066'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000065'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5715ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000061')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000066'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000065'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5457ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000065'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdafe0e2d354c00005e'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6509ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3655ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3359ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3438ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3751ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00005f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3254ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4337ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000068'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3873ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2919ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000069'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3788ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3085ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4767ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3021ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3110ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6610ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000060')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000062')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000061')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4333ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4974ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6052ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5143ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5138ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000064')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000063')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3359ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000070'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4679ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4595ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000071'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000071')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3759ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000070')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3635ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000065')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6071ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000072'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006b'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6349ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000067')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000068')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000069')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3579ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3836ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3148ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000075'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3031ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3354ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000076'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3298ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000077'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.8838ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000078'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4548ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3478ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000079'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6520ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8278ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4116ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4777ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00006e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4583ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5006ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4658ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4887ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5142ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000071')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3659ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000070')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5183ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4891ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4355ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3556ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4412ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4162ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000072')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4926ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000080'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5062ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000080'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5455ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000080'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5287ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007f'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000078'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"new-private-gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4017ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000081'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"new-private-gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000078'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"new-private-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5136ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000074')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000075')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000076')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3269ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000077')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000078')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3418ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000079')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3055ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6093ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3961ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2926ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000083'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000084'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2848ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000085'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1808ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4639ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3029ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000086'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000087'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6605ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4724ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5013ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4795ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000089'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4880ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4817ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4657ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4498ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3567ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4355ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3336ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4531ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3154ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4745ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3666ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00007f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000081')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5209ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008d'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008d'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5280ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000089')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008d'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5899ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008d'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000086'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000082')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000083')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000084')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000085')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000086')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000087')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2880ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000090'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3667ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3146ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000091'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3304ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3324ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000092'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4280ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3160ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3406ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000094'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6851ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000088')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000089')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4889ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4954ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4536ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5369ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4591ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5697ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4791ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3929ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3892ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000098'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000099'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000099')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c000098')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4409ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5908ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5955ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5577ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5627ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5189ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4656ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7947ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6180ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6201ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009c'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4228ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8872ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8329ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7351ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6138ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8434ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7177ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7392ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a0'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4135ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3290ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a2'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"trash gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0934ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8219ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7731ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6382ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7119ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a3'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>true, "name"=>"trash gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"trash-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6617ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"app_model2s", :query=>{"is_trash"=>true, "_type"=>{"$in"=>["Gallery"]}}} runtime: 0.8329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6683ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00008f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4487ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000090')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000091')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000092')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000093')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000094')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3414ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6682ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4385ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3088ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a6'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4320ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3182ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a7'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3476ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3374ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a8'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5310ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3252ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4385ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4152ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000aa'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3319ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000095')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000097')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000096')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4306ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 1.7427ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2157ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7329ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6209ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5554ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6003ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000099')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c000098')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3771ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ae'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5345ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4509ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000af'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000af')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ae')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3772ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c00009e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5005ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5969ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6684ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6757ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5570ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b0'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5967ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9241ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b3'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b2'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6607ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b3'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b2'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7219ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b3'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b2'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7322ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b2'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6418ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3776ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8793ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6252ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6179ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7176ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6943ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6363ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b4'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5779ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4744ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1533ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8314ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7052ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6124ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7807ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b6'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b8'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6998ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4981ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4228ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3896ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6916ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ba'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3046ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bb'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5911ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4854ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7162ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bc'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3160ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000be'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6617ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1213ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4231ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4179ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6081ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5717ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5995ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5272ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5685ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6132ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3959ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3940ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6153ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5036ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4143ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5276ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6764ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4727ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3837ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2758ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6767ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c4'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3539ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8884ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7682ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1879ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c6'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7301ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c6'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9681ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8890ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7309ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7502ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7124ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c8'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4024ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3698ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2564ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ca'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5903ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7843ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ca'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9155ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ca'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ca'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4679ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cc'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6441ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"app_model2s", :query=>{"is_public"=>false, "_type"=>{"$in"=>["Gallery"]}}} runtime: 0.5148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7360ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000b9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5935ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ba')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3305ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000be')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5791ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6727ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2802ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ce'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cf'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3932ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2738ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d0'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4143ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2897ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4445ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4563ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4575ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d2'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1541ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000bf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3980ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3191ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5417ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4771ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5241ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4801ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4994ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4513ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3995ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3755ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3695ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3381ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d6'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4362ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3171ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d7'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "updated_at"=>2016-05-05 04:45:15 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d6')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6607ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3779ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3351ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3757ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6063ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7295ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6048ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7037ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d8'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6504ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d8'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:15 UTC, "created_at"=>2016-05-05 04:45:15 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7772ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000db'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000da'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7257ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000db'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000da'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5436ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7247ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000db'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000da'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6945ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000da'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8049ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8107ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6139ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7520ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6558ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dc'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8952ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000de'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7987ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000de'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5708ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7504ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000de'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8217ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000de'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6536ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e0'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1'), "site_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7626ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4394ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000cf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3061ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2819ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5545ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3123ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5074ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9855ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8227ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3013ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5239ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3098ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3415ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2501ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4295ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5639ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6430ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4867ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5058ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5026ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6149ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3840ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4139ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ea'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3378ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000eb'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000eb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4686ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ea')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3882ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6299ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000d8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3792ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdbfe0e2d354c0000da')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000dc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000de')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4695ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6345ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7077ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5548ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9800ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ed'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ec'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9891ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ed'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ec'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7405ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ed'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ec'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6729ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ec'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e5'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5191ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ee'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000eb'), "is_feature"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7983ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6130ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7')}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3980ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7100ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3612ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3515ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3145ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2874ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6241ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f0'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3631ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3723ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4315ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f1'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.1569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4878ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f2'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6386ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2747ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f3'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f4'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5737ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000e8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6158ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.8482ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f6'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5439ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f7'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5981ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000eb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5486ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ea')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4038ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4694ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f8'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5734ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5722ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3746ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4428ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5779ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ec')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4084ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3142ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5189ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fa'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5070ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fa'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5247ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5265ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fb'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fa'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5747ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fa'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f3'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6115ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ef')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3473ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3245ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3030ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fd'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2942ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fe'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3583ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3024ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ff'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2837ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000100'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3037ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000101'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4761ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3662ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4417ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5242ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7501ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000103'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4306ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000104'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000f8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3667ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3699ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000105'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4675ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5114ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4099ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000106'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3785ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000106')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3438ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000105')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3029ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3713ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3428ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6079ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5399ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000104')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5606ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000103')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4888ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000107'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000100'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5469ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5087ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102')} update={"$set"=>{"is_ads_enabled"=>false, "updated_at"=>2016-05-05 04:45:16 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6401ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3462ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000fe')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c0000ff')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000100')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3374ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000101')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3567ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3553ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7319ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4300ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3116ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010b'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4759ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3869ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010c'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3199ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010d'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3415ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3324ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010e'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6692ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000102')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000104')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000103')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5347ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4814ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4929ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000110'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5022ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5352ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000111'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4321ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000106')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4400ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000105')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3757ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000112'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4511ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000113'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4880ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000113')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3709ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000112')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3847ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3995ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000107')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5668ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000115'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000114'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5515ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000111')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000115'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000114'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6182ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6022ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000110')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000115'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000114'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5553ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5310ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000114'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010d'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6572ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000109')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3592ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4221ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2918ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7751ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3351ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3239ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000117'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2960ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000118'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3048ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3537ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000119'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.6627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3843ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3462ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011a'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011b'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6752ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00010f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4120ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000111')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000110')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4673ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4872ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011d'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4861ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5094ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011e'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4696ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000113')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4024ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000112')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4124ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4659ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3722ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011f'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3232ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000120'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5190ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000120')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3912ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000114')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4138ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3168ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5545ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000122'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000121'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6456ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000122'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000121'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6189ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6098ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000122'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000121'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7777ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000121'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011a'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7390ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000116')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4652ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000117')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000118')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000119')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4228ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4145ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4397ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3273ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000124'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000125'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2531ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3229ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000126'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3374ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000127'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000128'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7082ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4676ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4549ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012a'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5158ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4605ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012b'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5151ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000120')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00011f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4375ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5875ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3285ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4385ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3792ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4000ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000121')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5370ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5183ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012e'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6590ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000127'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "domain"=>"new-domain", "lang"=>"en"}} runtime: 0.4062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6284ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000123')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000124')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3512ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000125')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000126')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3795ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000127')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000128')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3143ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6555ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3048ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000131'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3840ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2950ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000132'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5729ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4331ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3099ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000133'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3031ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000134'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5311ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3065ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000135'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8795ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000129')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3967ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4462ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5202ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4775ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000137'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5273ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5035ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000138'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4562ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3800ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000139'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5596ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000139')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3621ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4366ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00012e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5610ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5895ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000138')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7031ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5623ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000137')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013b'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000134'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6873ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000130')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000131')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000132')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3542ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000133')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000134')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000135')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2887ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3497ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3512ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4679ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3317ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000140'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.0470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000141'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3210ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6617ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000142'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6166ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000136')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000138')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000137')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3726ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4361ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.3826ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000144'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4369ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000145'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4556ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000139')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3763ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4229ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3342ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000146'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5098ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5429ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5424ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3856ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000147'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6708ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000147')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4019ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000146')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4334ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4160ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5921ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000149'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000148'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6395ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000145')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000149'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000148'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5979ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000144')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000149'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000148'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000148'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c000141'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5918ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4247ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00013f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000140')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000141')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000142')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3707ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8739ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3704ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3010ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4195ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3783ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7701ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000143')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3913ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000145')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3799ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000144')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4310ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4671ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000151'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4832ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4560ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000152'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4814ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000147')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000146')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3905ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3542ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000153'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5291ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4865ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4147ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000154'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150'), "updated_at"=>2016-05-05 04:45:16 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3923ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000154')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4019ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4765ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdcfe0e2d354c000153')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000148')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3917ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5355ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000156'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000155'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000152')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000156'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000155'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5820ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5799ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000151')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000156'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdcfe0e2d354c000155'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5983ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000155'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014e'), "site_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:16 UTC, "created_at"=>2016-05-05 04:45:16 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6994ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3979ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3507ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3439ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c00014f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3352ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000157'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2983ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2880ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000158'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5536ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000159'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3091ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9152ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2975ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6386ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000150')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3550ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000152')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3549ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000151')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4521ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4482ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4676ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000160'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4502ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4319ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000154')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000153')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3350ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3659ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000161'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c000157'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3432ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000162'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c000157'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4707ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000157')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000162')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000157')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3944ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000161')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3855ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdcfe0e2d354c000155')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5343ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000164'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000163'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5169ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000164'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000163'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4837ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000164'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000163'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000163'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00015b'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5098ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3535ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdafe0e2d354c00003d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2806ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000165'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5433ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000165')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000166'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5053ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000165')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000167'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4625ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000163')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3163ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000165')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000169'), "weight"=>10, "name"=>"asdfasdfffffff", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7204ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000157')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5178ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000158')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000159')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3790ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3428ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3021ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6463ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4847ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3070ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4955ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4559ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2935ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5252ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3311ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5535ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3504ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3331ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00015e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3005ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4205ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000170'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4255ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000171'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4515ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5511ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000172'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000170')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000173'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4357ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4364ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000162')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3468ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000161')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3789ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000174'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000170'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4188ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3224ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000175'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000170'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000175')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3722ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000174')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000170')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000177'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000176'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5316ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000172')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000177'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000176'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5386ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4941ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000171')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000177'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000176'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000176'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00016e'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000170'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4003ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000165')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3292ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2910ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2839ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000178'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5626ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000178')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000179'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000178')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017a'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4885ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000176')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8982ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5640ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3226ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3264ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3179ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.2741ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00016f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3721ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2819ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2766ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2735ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017d'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3340ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017e'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017f'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3772ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2954ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000180'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3527ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000181'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5455ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6728ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000170')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3922ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000172')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000171')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4452ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000182'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5736ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4842ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000183'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5281ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000184'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6311ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000182')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000185'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6431ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6632ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000175')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000174')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3894ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000186'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000182'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000187'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000182'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000187')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3945ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000186')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4327ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3699ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6331ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000182')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000189'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000188'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6085ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000184')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000189'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000188'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5905ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5783ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000183')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000189'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c000188'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5199ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000188'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c000180'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000182'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4700ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000178')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3456ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018a'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5535ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018a')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018c'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5059ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000188')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3402ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6293ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4792ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3535ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3401ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00017f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000180')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000181')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3561ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2974ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3897ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3284ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018f'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3519ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3058ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000190'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000191'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2910ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3447ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000192'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5438ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000193'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7300ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000182')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000184')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4647ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000183')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000194'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5118ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4479ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000195'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5049ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5319ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000196'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000194')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000197'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.2516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6820ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5487ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000187')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000186')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3319ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000198'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000194'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3606ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c000199'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000194'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4017ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000199')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3599ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c000198')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6057ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000194')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c00019a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000196')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c00019a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5816ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000195')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c00019a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c000192'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c000194'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3835ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4541ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2976ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019c'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5555ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019c')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019e'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5321ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6744ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3785ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019c')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a0'), "weight"=>10, "name"=>"asdfasdfffffff", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4807ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6918ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00018f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000190')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000191')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3441ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000192')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3712ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000193')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2976ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3465ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4847ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5228ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2885ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6309ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0719ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3035ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000194')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000196')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4760ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000195')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4521ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5138ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4535ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5581ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001aa'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4875ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5228ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000199')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c000198')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3961ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3208ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ab'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3288ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ac'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ac')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4271ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4009ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ab')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5829ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ae'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ad'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5941ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ae'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ad'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5935ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ae'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ad'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5788ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ad'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a5'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8935ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4684ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c00019c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3172ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3000ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001af'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5627ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001af')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5527ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001af')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b1'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5868ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5440ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4068ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3651ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3262ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4141ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3060ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b4'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3339ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b5'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3113ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5573ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b6'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3009ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3235ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b7'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3068ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b8'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7391ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8581ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5525ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4689ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ba'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5178ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bb'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4986ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bc'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4428ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3819ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3214ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bd'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4853ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001be'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6314ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001be')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3514ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5571ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bf'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5906ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bb')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bf'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ba')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bf'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5599ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bf'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b7'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5667ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4772ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4456ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c1'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5565ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c1')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c3'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5028ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3425ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7164ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3786ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3084ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2975ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6348ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3038ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c6'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c7'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2967ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c8'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c9'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ca'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7233ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001b9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3863ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3828ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ba')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4033ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5526ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4499ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cc'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5374ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4749ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cd'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ce'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001be')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3755ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001bd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3459ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cf'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5469ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5427ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3429ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d0'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3812ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cf')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4413ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4637ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5885ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6302ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cd')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5801ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cc')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d1'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c9'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4021ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5097ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3596ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d3'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5805ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5415ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d3')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d5'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6445ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4815ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7368ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3814ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3370ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001c9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3201ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3058ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d8'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3355ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d9'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9125ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001da'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6401ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3912ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3523ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001db'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4051ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3953ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dc'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8222ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3804ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3926ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5579ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5277ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4830ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001de'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4390ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001df'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e0'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4526ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001cf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3277ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e1'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4733ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3287ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd'), "updated_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5263ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3693ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3640ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5194ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001df')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5298ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001de')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e3'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4983ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e3'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001db'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3987ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3590ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2802ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e5'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5348ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e6'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5281ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e5')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e7'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4613ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6129ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3525ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001d9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001da')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3369ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001db')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3472ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3345ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2939ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3135ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ea'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001eb'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3745ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2985ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ec'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6523ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3134ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ed'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ee'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6542ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001dd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001df')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001de')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4403ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ef'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4542ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001f0'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4790ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4101ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001f1'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:17 UTC, "created_at"=>2016-05-05 04:45:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4172ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7246ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5353ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3880ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ef'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5217ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3748ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9'), "site_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ef'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ea')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3854ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001eb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ec')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3758ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ed')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ee')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3134ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1959ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3982ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3105ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f5'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6821ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3409ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f6'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3983ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3446ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f7'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4403ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3253ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f8'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3760ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3347ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f9'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001ef')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001f1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001f0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4480ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fa'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4763ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4700ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fb'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5014ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4910ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fc'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4670ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3983ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3840ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fd'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fa'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4757ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4606ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3332ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fe'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fa'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fe')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4593ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4417ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7195ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5200ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001f9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5168ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3143ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5873ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5478ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4925ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000200'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4555ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000201'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1293ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4916ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3101ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000202'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3655ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000203'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3912ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3545ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000204'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5448ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4828ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000205'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4781ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000206'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5074ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4603ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000207'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4673ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fe')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4494ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001fd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4442ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3370ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000208'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000205'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5176ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3772ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000209'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000205'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5153ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000209')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000208')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5645ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000205')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00020a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5922ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5825ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000207')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00020a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000206')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00020a'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5763ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0881ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000203'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000205'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4012ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4655ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfddfe0e2d354c0001e5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3591ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3238ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020c'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6242ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4327ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7203ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8724ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c0001ff')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6767ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000200')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8610ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000201')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5339ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000202')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4074ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000203')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000204')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3442ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2912ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000210'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6003ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3466ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3888ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000211'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7192ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9779ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4685ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000212'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5495ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000213'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7310ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4144ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3538ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000214'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5965ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000205')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5139ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000207')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4446ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000206')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4740ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000215'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5150ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000216'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5071ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4893ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000217'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000218'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00020f'), "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7590ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7414ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00020f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000210')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000211')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4733ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000212')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4022ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000213')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000214')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3312ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3683ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000219'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6509ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3612ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021b'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9768ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021c'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3391ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3101ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021d'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3538ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021e'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000215')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4881ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000217')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4897ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000216')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4793ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021f'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5487ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5114ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000220'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5629ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4714ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000221'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5266ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000222'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000219'), "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6384ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000219')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4209ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3981ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4058ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3820ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3310ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000223'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4034ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000224'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3970ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000225'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7001ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0425ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000226'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000227'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3146ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000228'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5404ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00021f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000221')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4158ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000220')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4191ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5405ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000229'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5310ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5776ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022a'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5275ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022b'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5275ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022c'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000223'), "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000223')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4945ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000224')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000225')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4040ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000226')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4019ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000227')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3833ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000228')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4043ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4177ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3513ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3760ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3504ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8606ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000230'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3514ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000231'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4152ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3903ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000232'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000229')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4076ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4425ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4861ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000233'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5001ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5275ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000234'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6217ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5189ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000235'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4801ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000209')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4113ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000208')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3651ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000236'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000233'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5085ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3790ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000237'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000233'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5876ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000237')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3899ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000236')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3432ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4185ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3381ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000233')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000239'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000238'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5693ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000235')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000239'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000238'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5667ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000234')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000239'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000238'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6569ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000238'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000231'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000233'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6263ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4064ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3765ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00022f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000230')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3699ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000231')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000232')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3378ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7427ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4321ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3360ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3317ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3465ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5684ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5549ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4015ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6876ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4175ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3602ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3533ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3443ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5974ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7344ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000233')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000235')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4452ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000234')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4879ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000240'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5381ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4906ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000241'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4877ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000242'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5606ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5397ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000237')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000236')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5415ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4269ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000243'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000240'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4352ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000244'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000240'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000244')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000243')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4765ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000238')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4152ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6524ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000240')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000246'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000245'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6469ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5760ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000242')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000246'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000245'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7194ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000241')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000246'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000245'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000245'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00023e'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000240'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7229ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3936ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3607ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00023f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2889ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2946ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000247'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3150ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3068ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000248'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3589ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000249'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5417ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3159ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6876ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3345ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000240')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000242')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3745ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000241')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5113ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5193ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4362ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5271ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4506ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000244')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3888ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000243')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000250'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000247'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5504ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4434ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000251'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000247'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000247')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000251')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000247')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000250')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4307ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000245')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5742ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000253'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000252'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5484ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000253'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000252'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5923ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000253'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c000252'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6023ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5459ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000252'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00024b'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7648ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000247')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4183ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000248')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4785ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000249')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3520ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3725ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3064ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000254'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7299ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000255'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3648ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2991ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000256'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4581ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.0908ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0410ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000257'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6666ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2952ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000258'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000259'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6695ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3427ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3073ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00024e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3284ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4574ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4859ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4635ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4347ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4303ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000251')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000250')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3659ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3534ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000254'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6262ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3693ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000254'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5375ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000254')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c00025e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000254')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c00025d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000252')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3435ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4878ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000260'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00025f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5934ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000260'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00025f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5506ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000260'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00025f'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025f'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000258'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0224ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000254')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000255')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1062ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000256')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000257')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000258')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0782ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000259')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3758ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000261'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3304ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000262'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9122ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8476ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000263'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3561ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000264'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4350ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3094ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000265'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5536ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3103ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000266'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6092ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3759ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3563ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3018ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4050ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000267'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4130ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4623ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000268'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4211ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000269'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4507ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4290ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3201ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000261'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000267'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3215ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000261'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000267'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4197ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000261')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c00026b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000261')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c00026a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3520ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4210ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00025f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3519ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4768ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000267')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00026c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5923ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4993ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000269')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00026c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5123ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4701ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000268')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572acfdefe0e2d354c00026c'), "username"=>"manager", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4809ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026c'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572acfdefe0e2d354c000265'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000267'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6498ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000261')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4187ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000262')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000263')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000264')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000265')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7618ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000266')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2977ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3027ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2882ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026f'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3770ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2940ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3026ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000270'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4716ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000271'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3462ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000272'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000273'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6513ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000267')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4328ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000269')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000268')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5037ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000274'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5883ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5845ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000275'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5362ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5049ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000276'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:18 UTC, "created_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5256ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3821ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3630ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000277'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000274'), "updated_at"=>2016-05-05 04:45:18 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3525ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdefe0e2d354c000278'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e'), "site_id"=>BSON::ObjectId('572acfdefe0e2d354c000274'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6386ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000278')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4567ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdefe0e2d354c000277')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7030ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4271ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c00026f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000270')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4359ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000271')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4152ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000272')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4477ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000273')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3932ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000279'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6400ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5418ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4000ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3571ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027b'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5525ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1057ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027c'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3701ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027d'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4459ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027e'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5814ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000274')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000276')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4078ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000275')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6228ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027f'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5529ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5013ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000280'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5264ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4945ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000281'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5298ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4108ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000277')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4325ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdefe0e2d354c000278')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3786ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3407ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000282'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c000279'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c00027f'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5132ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000283'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c000279'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c00027f'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5099ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000279')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c000283')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3897ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000279')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c000282')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000282')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5854ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000279')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4101ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3425ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000284'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4903ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000285'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3669ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000286'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5293ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3466ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000287'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3855ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3368ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000288'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3491ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000289'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00027f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3676ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000281')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000280')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3328ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4293ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4834ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4746ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5159ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4517ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3829ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000282')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000283')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3147ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c000284'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c00028a'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5312ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4776ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4202ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c000284'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c00028a'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000284')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4208ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c00028e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000284')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c00028d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000284')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000285')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000286')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000287')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4625ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000288')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7975ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000289')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4711ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3808ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5690ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000290'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5659ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3824ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000291'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4044ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3759ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4012ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000292'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000293'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3313ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000294'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5559ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4281ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4221ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4988ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000295'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4779ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000296'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5816ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000297'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4312ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3747ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4355ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3951ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000298'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c000295'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5520ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3522ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c000299'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c000295'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5051ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c000299')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c000298')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7639ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00028f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4529ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000290')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4318ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000291')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3617ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000292')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4388ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000293')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4043ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000294')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3686ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3651ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3107ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3770ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3836ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3160ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5550ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8733ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3868ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3928ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5497ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4623ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000295')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000297')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4436ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000296')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5586ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a0'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4650ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a1'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4640ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a2'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5430ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000298')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c000299')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4257ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4535ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a0'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3799ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a4'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a0'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a4')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3680ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6901ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4492ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c00029f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3859ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a6'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3416ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a7'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5843ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3376ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8538ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a8'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4029ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3422ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3218ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a9'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3453ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002aa'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5628ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5541ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ab'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5127ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5271ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ac'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5487ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4825ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ad'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4439ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4823ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3887ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ae'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ab'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5779ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5145ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3835ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002af'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ab'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4560ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002af')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ae')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4020ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6622ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4413ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3927ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4196ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4380ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3120ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b0'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7416ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b1'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4374ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3206ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b2'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9851ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b3'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3332ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b4'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4105ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b5'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5584ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4170ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4102ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4549ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b6'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5268ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4843ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b7'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5462ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b8'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:45:19 UTC, "created_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5344ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3732ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3809ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4220ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4023ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b0'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b6'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4053ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ba'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b0'), "site_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b6'), "updated_at"=>2016-05-05 04:45:19 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5605ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002ba')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4381ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572acfdffe0e2d354c0002b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4243ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0024ms Creating scope :public. Overwriting existing method AppModel2.public. Creating scope :page. Overwriting existing method Gallery.page. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5172ms Creating scope :public. Overwriting existing method Report.public. Creating scope :public. Overwriting existing method Venue.public. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3710ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000112')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7934ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3527ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000000'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5261ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3744ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000001'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4282ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3556ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000002'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000003'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7444ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4972ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3254ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000004'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4151ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000005'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6361ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00011a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4557ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00011c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6866ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00011b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6206ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000006'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6551ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5873ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000007'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6605ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5771ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000008'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7353ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4399ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1999ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5623ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00011f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6821ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3055ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3301ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3877ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3776ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6723ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3527ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1592ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3480ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7091ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3043ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00000f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5546ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000123')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000125')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4821ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000124')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5835ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000010'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7540ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4642ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000011'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6413ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6407ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000012'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5904ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000121')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4354ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000122')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000120')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3918ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4341ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5581ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000128')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5566ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000014'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0274ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4594ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4451ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000129')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000014')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4315ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5146ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.1888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6513ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000015'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4566ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8865ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000016'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6381ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4675ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4813ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000017'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4285ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6755ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000015')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5040ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4474ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000016')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4372ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000017')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2510ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1064ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000018'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4475ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3737ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000019'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5413ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3074ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3603ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3439ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2965ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4009ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3936ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4709ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000130')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00012f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4544ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4870ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5784ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5822ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd00001f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5125ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5173ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000020'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2779ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2307ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000134')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3439ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2931ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000022'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4964ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000135')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9379ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000022')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4226ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000136')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3723ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3228ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4482ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000023'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7463ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4340ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000024'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3486ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000025'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:02 UTC, "created_at"=>2016-05-05 04:46:02 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2168ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4123ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7503ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000137')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4939ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000138')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4559ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000023')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b000139')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5436ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000024')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5705ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00afe0e2d35dd000025')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4106ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000026'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4192ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4059ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000027'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000028'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4414ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5718ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000029'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5799ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4835ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002a'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3695ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3836ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002b'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6298ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00013a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5034ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00013c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00afe0e2d358b00013b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3764ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5926ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002c'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6605ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7069ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002d'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3349ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6104ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002e'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6169ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00013e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00013d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002f'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000141'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002c'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7021ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002f')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000026'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5150ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4063ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000030'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000141'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002c'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7560ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000141')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000030')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0051ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000026')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0022ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad009fe0e2d358b0000a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6517ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000032'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000031'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6445ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000032'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000031'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1011ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000032'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000031'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7785ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6404ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000031'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002a'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00002c'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9270ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000145')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7475ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000146')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.7917ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000147')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7893ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000148')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4684ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000149')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4509ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000033'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3684ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000034'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4212ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000035'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5899ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4755ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000036'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3531ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000037'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4755ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7475ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6763ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000033')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000034')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000035')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000036')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000037')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4455ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3998ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000038'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4523ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000039'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0221ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5511ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3545ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3191ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3303ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8192ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6965ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5337ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4731ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000151')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6156ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6982ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8662ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6112ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5931ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6311ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000040'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9259ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.2728ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7668ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00014e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5218ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9952ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4478ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4154ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000041'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000154'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003e'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5350ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000041')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000038'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4785ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000042'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000154'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003e'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000154')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000042')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4891ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000038')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4491ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000041')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5561ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000031')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6919ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000044'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000043'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6676ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000040')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000044'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000043'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7783ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4786ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000044'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000043'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5032ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000043'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003c'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00003e'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6531ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7577ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000154')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4364ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000155')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000156')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000157')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4072ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000158')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4203ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000159')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3819ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000045'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6486ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000046'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6533ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4861ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000047'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4821ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4263ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000048'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7458ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000049'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004a'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7302ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00015a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6033ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00015c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5553ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00015b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4048ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4454ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004b'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6150ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4925ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004c'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4938ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5109ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004d'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6285ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5309ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00015e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0438ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00015d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000160'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004b'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004e')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000045'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3893ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004f'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000160'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004b'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000160')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4510ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000045')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4125ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000043')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6814ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000051'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000050'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6378ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000051'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000050'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7563ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5899ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000051'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000050'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000050'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000049'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00004b'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7040ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "domain"=>"new-domain", "lang"=>"en"}} runtime: 0.4104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6095ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000160')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4591ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000161')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000162')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3611ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000163')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000164')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3722ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000165')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.4754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.3639ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9614ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000052'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3994ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3121ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000053'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4349ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000054'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6459ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4086ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000055'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4595ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3829ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000056'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000057'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5830ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4920ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000166')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000168')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000167')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4899ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4997ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000058'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5512ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000059'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6437ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5842ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5771ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00016a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4041ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000169')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4754ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000056'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000058'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7706ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005b')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000052'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3630ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5302ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00016c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.9281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6000ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8167ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4300ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3982ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5856ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00016d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4524ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00016e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005e'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3168ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4088ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005f'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6864ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3904ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3431ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000060'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7275ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7865ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00016f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3652ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000170')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2259ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1148ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000171')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5301ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00005f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4500ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000060')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6290ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4244ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000061'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8375ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2917ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000062'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7965ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3609ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000063'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000064'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3713ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3296ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000065'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8264ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3263ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000066'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7488ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8617ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000172')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000174')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3667ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000173')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4128ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 1.3487ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000067'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3395ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5411ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000068'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5206ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.7324ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000069'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4524ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4044ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5807ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000177'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000067'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6685ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006a')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000061'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6034ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b000177'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000067'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000177')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000061')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4553ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5093ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000179')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00017a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3383ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006c'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7376ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006d'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 3.5564ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006e'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2831ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006f'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1210ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4561ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3689ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000070'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8414ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0107ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000071'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5236ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000067')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4202ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000069')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000068')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4085ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5740ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000072'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5223ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4836ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000073'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5751ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5369ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000074'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6528ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4584ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4874ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000075'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b00017e'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000072'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8645ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000075')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006c'), "updated_at"=>2016-05-05 04:46:03 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7413ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000076'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00bfe0e2d358b00017e'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000072'), "updated_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00017e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4729ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000076')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00006c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5071ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000075')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6493ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5452ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000050')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9173ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000072')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7264ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000074')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7070ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000073')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.2439ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000077'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000070'), "site_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000072'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6783ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000182')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5039ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000183')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5245ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3852ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3657ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000079'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7018ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000184')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4664ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000079')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4159ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000185')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4616ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4001ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000186')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3994ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3531ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5268ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007b'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007c'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4852ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007d'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:03 UTC, "created_at"=>2016-05-05 04:46:03 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.9344ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5177ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4389ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00007e'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4358ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00007f'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7605ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000187')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5803ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4679ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd00007d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00007e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00007f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4940ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4603ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000080'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000081'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9967ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1452ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000082'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9300ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3124ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000083'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3841ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3147ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000084'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7374ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3400ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000085'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3794ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000188')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5102ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b00018a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4245ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d358b000189')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4428ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6197ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000086'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6624ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5832ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000087'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6243ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5600ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000088'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9852ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b00018c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b00018b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4838ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4201ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000089'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d358b00018e'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000086'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6237ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000089')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000080'), "updated_at"=>2016-05-05 04:46:04 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4437ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d358b00018e'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000086'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d358b00018e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000080')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000089')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6972ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00bfe0e2d35dd000077')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3792ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7063ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000086')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8464ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000088')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5412ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000087')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6491ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5971ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000084'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000086'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4138ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000192')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0193ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000193')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4333ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3182ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000194')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8781ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6025ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000195')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2719ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5081ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000196')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3579ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4346ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000090'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7621ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5038ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3813ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3435ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000091'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4617ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000092'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000093'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6378ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6645ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b000197')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4470ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00008f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4188ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000090')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4464ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000091')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7408ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000092')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4922ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000093')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5724ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5327ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000094'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6808ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.4204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000095'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 3.8315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5405ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000096'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8121ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000097'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5457ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4721ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4350ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000098'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5290ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0700ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000099'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6341ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5091ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6291ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5198ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5293ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5498ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4554ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4206ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d358b00019f'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009a'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8166ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009d')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd000094'), "updated_at"=>2016-05-05 04:46:04 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2024ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3201ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4778ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3646ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3868ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a0'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6444ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3476ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a1'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3815ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a2'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7648ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3310ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a4'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5094ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5016ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5672ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6820ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.8109ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a6'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7542ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6120ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a7'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5340ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5209ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a8'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a8'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a9'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6189ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a8')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009f'), "updated_at"=>2016-05-05 04:46:04 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6605ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4624ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a8'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.7223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.5831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a9')}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd00009f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6387ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6936ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7085ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6944ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4802ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0146ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1041ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0265ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0849ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0562ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.6864ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0693ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000aa'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6259ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.6397ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 3.2239ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8537ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001a9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9524ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2889ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ac'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.3591ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6886ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ae')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000af'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ae'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.1966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0199ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ae'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5271ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2124ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ae')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0765ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8699ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9264ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001af')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0052ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6074ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b0'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5417ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4629ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b2'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5841ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6528ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b3'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 3.3663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7208ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b4'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4234ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3732ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b5'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3690ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b6'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3566ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4285ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4237ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b8'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7291ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1068ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.8605ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7223ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6854ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ba'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6988ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.7237ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bb'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8260ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5786ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4861ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5626ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bc'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3657ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bd'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b3'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "updated_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6017ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bc')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7550ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4683ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6492ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4087ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8846ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bf'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000be'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7461ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ba')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bf'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000be'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7901ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000bf'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000be'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8145ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7815ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000be'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7177ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4112ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0159ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8518ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001ba')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.9106ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c1'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c0'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8557ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c0'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8024ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9008ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c3'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c2'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7373ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c2'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8740ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bc')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8757ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c4'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6567ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8258ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c6'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"trash gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5938ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1498ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bc')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9771ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001be')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7713ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bd')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8455ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9709ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c7'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>true, "name"=>"trash gallery", "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b7'), "site_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000b9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC, "username"=>"manager", "galleryname"=>"trash-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7604ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"app_model2s", :query=>{"is_trash"=>true, "_type"=>{"$in"=>["Gallery"]}}} runtime: 0.5971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6991ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3924ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c9'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4319ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ca'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3711ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cb'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.8725ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6196ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cc'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8887ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4418ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3686ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cd'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5502ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3755ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ce'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.8605ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001be')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6736ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001bd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6094ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5307ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cf'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8551ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7199ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d0'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8781ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.7879ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d1'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8193ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d2'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c9'), "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8610ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4468ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4580ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6900ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.7056ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000cd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7441ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3291ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4512ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d3'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d4'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.1939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d5'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9765ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4597ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3870ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d6'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:04 UTC, "created_at"=>2016-05-05 04:46:04 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4340ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3907ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d7'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3036ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3395ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5911ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000d8'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9141ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6743ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7960ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7127ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5383ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000d9'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8279ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5770ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000da'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9627ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 1.5720ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000db'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4968ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000dc'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000d3'), "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8941ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4516ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4581ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5368ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3880ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000dd'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5810ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000de'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5935ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5677ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000df'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3874ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e0'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5427ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4142ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3397ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e1'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8740ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3282ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4866ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e2'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5967ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000d9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4495ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000db')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5481ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000da')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4499ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6043ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e3'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7942ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4383ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e4'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.9971ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.8560ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e5'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e6'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000dd'), "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7399ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9851ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000de')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4978ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4558ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000df')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6882ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8002ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e7'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3639ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7643ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e8'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5048ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e9'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3992ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ea'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4564ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000eb'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4044ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3231ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ec'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6357ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2632ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4606ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5721ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.9566ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8162ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5582ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ee'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8403ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5547ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ef'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5880ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f0'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8451ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3729ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001cf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9019ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2724ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4355ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f1'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d7'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8743ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f1')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e7'), "updated_at"=>2016-05-05 04:46:05 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6342ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6819ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d7'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6590ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000e7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6858ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6467ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d35dd0000c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4421ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001d2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3769ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0320ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f3'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ef')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f3'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6880ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5264ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ee')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f3'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6076ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4768ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f3'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000eb'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ed'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5487ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4956ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b0001c5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8519ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad009fe0e2d358b0000a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4952ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3776ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4943ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3074ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f5'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5639ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f6'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8714ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f5')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f7'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8685ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6747ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8012ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5980ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5523ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f9'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3491ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fa'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9838ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5151ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3066ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fb'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4923ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3340ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3037ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fc'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3957ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4107ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fd'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8657ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3327ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fe'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.9403ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001dd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001df')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001de')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6250ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6084ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6855ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4990ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000100'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4542ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6553ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000101'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6679ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000102'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5277ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4769ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4274ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6475ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7744ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000103'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e5'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9171ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000103')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f9'), "updated_at"=>2016-05-05 04:46:05 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5603ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000104'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e5'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4238ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000104')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3858ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000103')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8683ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000106'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000105'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0469ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000101')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000106'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000105'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8936ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000100')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000106'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000105'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9825ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000105'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000fd'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000ff'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5849ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4501ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd0000f5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5413ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4122ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3298ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3946ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000107'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6829ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000107')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8380ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000107')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000109'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5904ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7206ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000105')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8457ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8113ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001e9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6364ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ea')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6066ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001eb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5624ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ec')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4180ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ed')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ee')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3266ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010b'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7769ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010c'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010d'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5952ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010e'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8955ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5133ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5229ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010f'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8890ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4661ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4760ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000110'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9474ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ef')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3943ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3780ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4853ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000111'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6683ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6014ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000112'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5077ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4253ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000113'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8319ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000111')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000114'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6245ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7397ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5712ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1084ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000115'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f4'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000111'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8558ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000115')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010b'), "updated_at"=>2016-05-05 04:46:05 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4385ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000116'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f4'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000111'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5483ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f4')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000116')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4253ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3722ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000115')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5717ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3810ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4397ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000117'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00010f'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000111'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4268ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5479ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000107')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3663ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000118'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7250ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000118')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000119'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7189ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000118')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011a'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5920ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000117')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.4623ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6798ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4898ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001f9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011c'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 57.9264ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 2.2735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4577ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b0001ff')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000200')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4732ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000201')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4384ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000202')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000203')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000204')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5882ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4083ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3575ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5445ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4282ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6109ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3425ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4173ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000120'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000121'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3857ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000122'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4657ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b00020b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4706ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 2.1056ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000123'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8013ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5069ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6377ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00011f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000120')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4451ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b00020a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000121')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000122')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3480ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000124'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000125'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7806ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 3.4099ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4561ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000126'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7974ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4288ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3866ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000127'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4117ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000128'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3569ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000129'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6702ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000123')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4172ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b00020d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5365ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b00020c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4483ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5083ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4587ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5089ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6354ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5633ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012d'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6178ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5565ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000209')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000208')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4403ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000124'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6087ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6539ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5598ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012f'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000124'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a'), "updated_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000124')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7385ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000124')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3974ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5992ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000131'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000130'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5961ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000131'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000130'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 4.1689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6932ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000131'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000130'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4745ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000130'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000128'), "site_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5731ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000214')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4620ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000215')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5300ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2995ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000132'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5603ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000132')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000133'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6440ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000132')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000134'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6424ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6224ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000130')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3492ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000132')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000136'), "weight"=>10, "name"=>"asdfasdfffffff", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5994ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4336ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d358b000216')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3402ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd000137'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:05 UTC, "created_at"=>2016-05-05 04:46:05 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6820ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000138'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6730ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4171ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3733ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000139'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6887ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9903ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3972ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5880ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4095ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3988ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4444ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3587ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6663ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5523ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00021e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4488ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000220')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00021f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4950ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6302ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8568ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6852ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6132ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5325ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9068ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00013d')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000140'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5107ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3963ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00dfe0e2d35dd00012e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4345ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000222')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8091ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000142'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3647ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000143'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6354ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4492ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4653ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4116ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000144'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3460ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000145'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7500ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3994ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000146'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4290ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000147'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6701ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000223')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4493ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000225')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000224')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3987ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4773ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5452ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5133ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000149'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6373ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5408ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5962ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014b'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5982ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4206ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3642ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000142'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4922ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000142'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7502ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000142')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000142')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3905ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6974ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7651ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7252ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7956ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000149')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6838ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6938ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000146'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000148'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3371ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00022c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4445ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00022d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2909ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000150'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5211ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000150')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000151'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6472ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000150')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000152'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4806ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5251ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5573ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5263ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00022e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4788ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000154'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4981ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000155'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000156'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3251ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000157'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000158'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3213ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000159'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000234')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3962ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000235')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6762ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7966ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6456ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7289ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6277ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8304ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000155')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5970ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000156')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000233')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000157')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5216ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000158')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000159')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3548ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015c'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4277ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3210ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015d'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5647ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5119ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015e'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5459ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3477ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015f'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3244ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000160'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000161'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7248ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4154ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000236')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4017ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4135ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5084ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000162'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5486ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5249ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000163'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7240ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000164'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4329ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00014c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3378ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000165'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015c'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000162'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6554ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4397ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0428ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5044ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000166'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015c'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000162'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd000166')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00015c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd000165')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2590ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3257ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000167'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3647ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9766ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000168'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.6041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4023ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000169'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6234ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4847ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3251ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3429ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3635ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6174ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000242')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4171ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000244')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4379ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000243')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5481ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5859ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4204ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6034ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5558ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7402ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7825ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00cfe0e2d358b00019d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000165')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3817ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000166')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3657ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4332ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000170'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d358b000241'), "site_id"=>BSON::ObjectId('572ad00efe0e2d358b000248'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6362ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000170')} update={"$set"=>{"user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000167'), "updated_at"=>2016-05-05 04:46:06 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6479ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.9168ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5615ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6800ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000241')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2183ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000167')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4273ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000168')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4261ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000169')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4151ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8962ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00016c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5813ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5138ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4703ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000172'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3924ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4506ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000173'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 3.2871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4483ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4710ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000174'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.9658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3072ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000175'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5709ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4253ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000176'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3864ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3217ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3195ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000177'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4927ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000249')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 9.3121ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.8419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6853ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000172')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4254ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000173')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3893ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000174')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000175')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3658ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00024f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3605ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000176')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000250')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000177')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4780ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7475ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000178'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3810ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3017ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000179'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3678ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7150ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6274ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4573ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3276ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6283ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4545ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3105ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000255')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9414ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000257')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000256')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3847ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4618ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6436ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4893ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6795ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5799ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000180'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3301ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000170')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4980ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3972ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000258')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5617ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3136ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3506ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000182'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4497ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000259')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5268ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000182')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5642ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5241ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0715ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8409ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000183'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6085ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3112ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3120ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000184'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3387ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000185'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4788ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3478ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3573ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7973ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.8964ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000183')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.8958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000184')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4454ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4942ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000185')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3280ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4336ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3322ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000187'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5630ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4191ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3319ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000188'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3401ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000189'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018a'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5414ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3727ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3504ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018b'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7362ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6131ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4504ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000180')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00017f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6472ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018c'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7050ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6417ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018d'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6740ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6529ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018e'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5353ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4502ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5100ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018f'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018c'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3969ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000190'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018c'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd000190')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7249ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000186')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5265ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000187')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4376ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000188')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4614ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000189')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4294ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4210ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3912ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5431ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4253ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000192'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000193'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3677ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000194'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6061ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4075ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000195'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6433ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3610ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000196'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7355ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8960ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6754ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5884ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6372ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.8198ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8934ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 1.8543ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000198'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9291ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.9373ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000199'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9727ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000190')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.8983ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00018f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8792ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5928ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9117ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6911ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6685ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5349ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197'), "updated_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9345ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0476ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2497ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000265')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0741ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000266')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9993ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000268')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6924ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00026a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6525ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4134ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8469ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0636ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000199')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8412ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8622ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000198')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8789ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7504ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019c'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd000195'), "site_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7286ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000261')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000262')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000263')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000264')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6454ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b000260')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4782ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6331ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d358b00025e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5705ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6198ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4787ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4466ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019e'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8631ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5003ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000191')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4205ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000192')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000193')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3389ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000194')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000195')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5940ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000196')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3542ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:06 UTC, "created_at"=>2016-05-05 04:46:06 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3556ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3258ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4046ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3475ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3023ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3486ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3511ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7202ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000197')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000199')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd000198')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4571ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4890ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4730ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5308ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4642ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4000ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3920ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3634ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3669ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001aa'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4908ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4400ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ab'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4839ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5003ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3787ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ab')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001aa')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3877ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3460ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5297ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5259ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5357ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5511ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5317ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ac'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a5'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4836ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3760ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4353ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd00019e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4339ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3177ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2776ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2847ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ae'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5088ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ae')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001af'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4842ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4495ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5345ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00efe0e2d35dd0001a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3503ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3131ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3246ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3479ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2772ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2996ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3405ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2800ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3407ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4021ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9405ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7184ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4139ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4075ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4271ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6826ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3813ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4699ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5293ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5386ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4454ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4808ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4621ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5134ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3934ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3514ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ba'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4996ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bb'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3876ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ba')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3605ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6032ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5938ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7631ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6866ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7405ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7253ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bc'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b5'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5244ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4806ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3231ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3229ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001be'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001be')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bf'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5054ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5533ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3495ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3282ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3080ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3387ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2758ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3888ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3159ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3014ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6019ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4001ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5067ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4150ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3125ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5909ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6857ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4236ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001b8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3957ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4903ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5060ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4835ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4444ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4767ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4727ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4070ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ba')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3176ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ca'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4745ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4452ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3934ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cb'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5274ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4899ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4369ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ca')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6069ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6107ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5815ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6904ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6077ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cc'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c5'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5422ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4292ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4398ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001be')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2826ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ce'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6013ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ce')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cf'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5435ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5711ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4379ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3481ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6654ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4199ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3750ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3561ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3091ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2959ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3212ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4257ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8573ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6937ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3007ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5254ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7274ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3827ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5462ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5142ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5571ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5167ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5155ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5545ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001cb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4069ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3878ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4628ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001da'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3813ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001db'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d1'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d7'), "updated_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5762ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4405ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001db')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001da')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3758ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4038ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6113ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6681ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6301ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6513ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dd'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dc'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6682ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dc'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d5'), "site_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001d7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4337ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4146ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3025ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001de'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6230ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001de')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:07 UTC, "created_at"=>2016-05-05 04:46:07 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6374ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad00ffe0e2d35dd0001dc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7207ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3452ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.1971ms Creating scope :public. Overwriting existing method AppModel2.public. Creating scope :page. Overwriting existing method Gallery.page. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3873ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3866ms Creating scope :public. Overwriting existing method Report.public. Creating scope :public. Overwriting existing method Venue.public. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2105ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3634ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000000'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3568ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000001'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4439ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3584ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000002'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6016ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000003'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7256ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000004'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 3.3267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4935ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000005'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5985ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4362ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6781ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000006'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9906ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7032ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000007'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7081ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6231ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000000')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000001')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4146ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000002')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000003')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5658ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000004')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4264ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000005')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3505ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000008'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8169ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000009'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0664ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4866ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3530ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3416ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3822ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0918ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3390ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3293ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3886ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5957ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000006')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000007')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6109ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6226ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6984ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5379ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200000f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6768ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5842ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000010'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6927ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000011'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad019fe0e2d3632000008'), "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6024ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d363200000a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d363200000b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4662ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d358b0004b7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d363200000c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4148ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad019fe0e2d363200000d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.5509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4026ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000012'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000013'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7095ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5369ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3807ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000014'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3809ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3722ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000015'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3973ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2879ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000016'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3629ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3710ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000017'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4820ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d3632000010')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7846ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad019fe0e2d363200000f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2997ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 1.0767ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000018'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7916ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 1.5022ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d3632000019'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5908ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6622ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200001a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6561ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad019fe0e2d363200001b'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad019fe0e2d3632000012'), "updated_at"=>2016-05-05 04:46:17 UTC, "created_at"=>2016-05-05 04:46:17 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms MOPED: 192.168.56.11:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.0071ms Creating scope :public. Overwriting existing method AppModel2.public. Creating scope :page. Overwriting existing method Gallery.page. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4294ms Creating scope :public. Overwriting existing method Report.public. Creating scope :public. Overwriting existing method Venue.public. MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8527ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b000508')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b000509')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6148ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b00050a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4136ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b00050b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b00050c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b00050d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4960ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3335ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4077ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3181ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000001'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2877ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2825ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000002'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2829ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000003'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000004'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2817ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000005'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4875ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b000505')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b000507')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6030ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b000506')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3902ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5718ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5050ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4355ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000007'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4890ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4394ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000008'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3068ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4085ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4286ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3453ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000009'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3009ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d366500000a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d3665000009')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3311ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4629ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b00044c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b0004f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3784ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b0004f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3402ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01afe0e2d358b0004f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3478ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6286ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d366500000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5193ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000008')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d366500000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4892ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000007')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d366500000b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5236ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad01ffe0e2d3665000004'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4784ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000000')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4084ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000001')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3280ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000002')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3233ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000003')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5900ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000004')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000005')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7030ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3698ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4594ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2695ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5097ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3008ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000010'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5177ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4176ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000011'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5229ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3066ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000012'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5539ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7914ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000006')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000008')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000007')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4290ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4595ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4432ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000014'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4749ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5039ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000015'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4638ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000009')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3810ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3724ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3404ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000016'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000017'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3839ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d3665000017')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3830ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d3665000016')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4061ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3772ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5568ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000019'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000018'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5447ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000015')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000019'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000018'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6320ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5252ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000014')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000019'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000018'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5481ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000018'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad01ffe0e2d3665000011'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6248ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3871ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500000f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000010')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3736ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000011')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3663ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000012')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3456ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3155ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3028ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3665ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2989ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5390ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3993ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4302ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3203ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3139ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5525ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3994ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3014ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6536ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000013')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4407ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000015')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000014')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4350ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5588ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000021'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4608ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4304ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000022'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4519ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000017')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000016')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3567ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3744ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000023'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5061ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4639ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000024'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020'), "updated_at"=>2016-05-05 04:46:23 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3967ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d3665000024')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3543ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad01ffe0e2d3665000023')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3886ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3993ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000018')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3619ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5289ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000026'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000025'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0194ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000022')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000026'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000025'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5943ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000021')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000026'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad01ffe0e2d3665000025'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:23 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5440ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000025'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad01ffe0e2d366500001e'), "site_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:23 UTC, "created_at"=>2016-05-05 04:46:23 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4843ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6352ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3589ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3476ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d366500001f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3336ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2941ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000027'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2952ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3153ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000028'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3709ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000029'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3621ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.9924ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4927ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3240ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3549ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3166ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5008ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6516ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000020')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000022')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000021')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3846ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6060ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5513ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4666ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4864ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500002f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000024')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3728ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000023')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3291ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000030'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000027'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500002d'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5206ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4514ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3338ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000031'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000027'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500002d'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000027')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000031')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3745ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000027')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3935ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000030')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4139ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad01ffe0e2d3665000025')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5083ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000033'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000032'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5697ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000033'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000032'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6936ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7434ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000033'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000032'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9369ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000032'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500002b'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500002d'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.4030ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000027')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0641ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000028')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4386ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000029')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4185ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3435ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3510ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2796ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000034'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4628ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000035'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000036'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1211ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7105ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000037'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5288ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3161ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000038'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2960ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000039'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7668ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4622ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500002e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.7650ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5217ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5680ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6185ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 1.4636ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000031')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5442ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000030')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4148ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4425ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3218ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000034'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500003a'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4347ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000034'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500003a'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000034')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4058ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500003e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000034')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4069ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500003d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5367ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000032')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8046ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7986ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6101ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000040'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500003f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6814ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5547ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000040'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500003f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5919ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000040'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500003f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5530ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500003f'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000038'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500003a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"new-private-gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4698ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000041'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"new-private-gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000038'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500003a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"new-private-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000034')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000035')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000036')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000037')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5357ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000038')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4935ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000039')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8714ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1463ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000042'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7514ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4428ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3590ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000043'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2999ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3311ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000044'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2966ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000045'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3069ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000046'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3827ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3017ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000047'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6614ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4288ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000048'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4510ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4298ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000049'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4957ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4398ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3733ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3070ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000042'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000048'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9808ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3365ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000042'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000048'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4847ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4762ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000042')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500004c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000042')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500004b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4807ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500003f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4023ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000041')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3761ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3109ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4852ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000048')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500004d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5380ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5502ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500004d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5135ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5386ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000049')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500004d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4989ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004d'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000046'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000048'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6925ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000042')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3887ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000043')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3770ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000044')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3571ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000045')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3519ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000046')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000047')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4005ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3081ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3537ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3041ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000050'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3330ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000051'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3487ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3162ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000052'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4497ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2970ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2972ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6125ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3092ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000054'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5112ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7093ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000048')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3782ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3952ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000049')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3852ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5136ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4775ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5009ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4913ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4602ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4415ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3523ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000058'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d366500004f'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4751ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4288ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3221ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000059'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d366500004f'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000059')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3694ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500004f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000058')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3750ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4083ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3572ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5429ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5446ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6172ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5443ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5759ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6689ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5235ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5168ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005c'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5329ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8657ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6450ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500005e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6093ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500005e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7787ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000061'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000060'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6852ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6349ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000061'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000060'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6243ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000061'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000060'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5651ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000060'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5460ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000062'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000053'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000055'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5000ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"app_model2s", :query=>{"is_public"=>false, "_type"=>{"$in"=>["Gallery"]}}} runtime: 0.3696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500004f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000050')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000051')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000052')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000053')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000054')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4018ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3098ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2818ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000063'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4084ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000064'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2969ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000065'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5816ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000066'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6622ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3882ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3812ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3359ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3179ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000068'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6699ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9237ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000055')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3870ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000057')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4011ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000056')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5914ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4959ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4851ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4527ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 1.1756ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8493ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1365ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000059')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7505ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000058')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9800ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4221ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3321ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000063'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4985ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000063'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5239ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000063')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4574ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500006d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000063')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3970ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d366500006c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5461ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500005a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3898ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500005c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3465ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500005e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3391ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000060')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0913ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000062')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2499ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500006e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6351ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5765ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500006e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5924ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5866ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500006e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5324ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500006e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3953ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7561ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000071'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000070'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5596ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000071'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000070'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7825ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000071'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000070'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7001ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5733ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000070'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5012ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7792ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6133ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5852ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000073'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000072'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5996ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000072'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5303ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3383ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8253ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000075'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000074'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7349ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6540ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000075'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000074'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6381ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6937ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000075'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000074'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6434ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000074'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4726ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000076'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"trash gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4203ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3291ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8265ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5985ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6584ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5909ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000078'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000077'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6325ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000077'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>true, "name"=>"trash gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000067'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000069'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"trash-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5083ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"app_model2s", :query=>{"is_trash"=>true, "_type"=>{"$in"=>["Gallery"]}}} runtime: 0.4141ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6535ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000063')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000064')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000065')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3408ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000066')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000067')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000068')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3599ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3190ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000079'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4709ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2947ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3150ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3022ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007b'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3543ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3444ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007c'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5268ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4282ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3118ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3910ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5765ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3087ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007e'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8513ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000069')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3954ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5046ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5130ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5787ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4892ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5446ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4929ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4300ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4172ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3642ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000082'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000079'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5195ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3323ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000083'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000079'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4563ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000079')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3691ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000083')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4136ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000079')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000082')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6483ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500006e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3789ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000070')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000072')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000074')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3312ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000076')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3669ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000077')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5688ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000085'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000084'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5224ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000085'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000084'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5372ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000085'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000084'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5259ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000084'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3940ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7418ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000087'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000086'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5723ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000087'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000086'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5465ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000087'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000086'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5944ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000086'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7510ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000089'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000088'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6006ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000089'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000088'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5784ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7920ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000089'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000088'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6269ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000088'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4909ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5401ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4351ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8121ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500008a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5794ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500008a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6403ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500008a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6226ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6665ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7535ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008c'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d366500007d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d366500007f'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5954ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6703ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000079')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9926ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9513ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4079ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3492ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4145ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3511ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5431ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5296ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3697ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2854ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2977ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3131ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000090'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6314ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3397ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3152ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5343ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3891ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3253ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3186ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000092'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9455ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500007f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4462ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000081')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4008ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000080')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3593ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4576ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5252ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5801ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5665ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4777ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5299ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5471ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000083')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3867ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000082')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4213ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3793ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000096'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d366500008d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000097'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad020fe0e2d366500008d'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "updated_at"=>2016-05-05 04:46:24 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5406ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5623ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000097')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4073ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500008d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad020fe0e2d3665000096')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5681ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000084')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000086')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000088')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3591ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500008a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3869ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500008c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5752ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000099'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000098'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5865ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5809ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000099'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000098'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6782ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000099'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d3665000098'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6058ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6195ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d3665000098'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5477ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"one", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3490ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8367ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 10.0309ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6538ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5959ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6596ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009b'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009a'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009a'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"one", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"one"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6069ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"two", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4631ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3804ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9145ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6361ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6210ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6787ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009d'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009c'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7603ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7885ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009c'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"two", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"two"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"three", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3303ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0298ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9027ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9225ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad020fe0e2d366500009e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7327ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9389ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d366500009e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"three", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:24 UTC, "created_at"=>2016-05-05 04:46:24 UTC, "username"=>"manager", "galleryname"=>"three"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"non-public gallery", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4669ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad020fe0e2d36650000a0'), "is_public"=>false, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"non-public gallery", "user_id"=>BSON::ObjectId('572ad020fe0e2d3665000091'), "site_id"=>BSON::ObjectId('572ad020fe0e2d3665000093'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"non-public-gallery"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7801ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500008d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5101ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500008e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4768ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500008f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4190ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000090')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000091')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000092')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5487ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4573ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3690ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4466ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4884ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.9856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8542ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3675ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4556ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6904ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4221ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9256ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 2.3446ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000093')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5772ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000095')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000094')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5548ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6311ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5691ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6164ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5882ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6156ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7943ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000097')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000096')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3774ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5403ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4323ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000aa'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8525ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5930ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ab'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6360ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000ab')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6824ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000aa')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5299ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6114ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d3665000098')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500009a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500009c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3877ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d366500009e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad020fe0e2d36650000a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5767ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4336ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6170ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7027ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6478ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6555ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6405ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ad'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000ac'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7163ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ac'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000a5'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5655ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000442')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4599ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000443')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4840ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000444')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3916ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=tags selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000445')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5352ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000441')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b000440')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5227ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad016fe0e2d358b00043f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3188ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7432ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ae'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8852ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ae')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000af'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6676ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5991ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7167ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5196ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4038ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3907ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4298ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4259ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5742ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4711ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b2'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7524ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4314ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4022ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b3'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3740ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b4'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7047ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4875ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3763ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b5'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3301ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b6'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8105ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4862ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4075ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4592ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 1.1510ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7311ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5510ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b8'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5984ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5136ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b9'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6472ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ba'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4521ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5683ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5028ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5151ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bb'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6459ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3303ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bc'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000bc')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4253ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000bb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3117ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6254ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000be'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000bd'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7060ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000be'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000bd'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9328ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7184ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000be'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000bd'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5360ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bd'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000b5'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4750ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3998ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3724ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2785ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3068ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bf'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6924ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6010ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bf')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c1'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6192ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4865ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3553ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3084ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7022ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3201ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3308ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3128ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3536ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2918ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3780ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3648ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2948ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c4'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7090ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5693ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c5'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4496ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3037ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c6'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7769ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3169ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c7'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4232ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c8'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9758ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4138ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000b8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5277ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5978ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4675ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ca'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4850ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.7229ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cb'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6405ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cc'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4877ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3952ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4283ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3412ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2934ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cd'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4954ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3229ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ce'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4725ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000ce')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000cd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3527ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3112ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5051ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000cf'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6582ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cb')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000cf'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5479ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5325ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ca')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d0'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000cf'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6723ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5257ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cf'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000c7'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6577ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3762ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000bf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3358ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2756ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d1'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6912ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d1')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d3'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7823ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5411ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4970ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3210ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3200ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3132ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3612ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2901ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7301ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3288ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d6'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3479ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4313ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d7'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8755ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9962ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5025ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d8'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2940ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d9'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4900ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3469ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2899ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3193ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000da'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5065ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8489ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000c9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4795ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4551ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000db'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5719ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4476ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dc'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4498ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.6494ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dd'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6335ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000db')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000de'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4320ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4706ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5315ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000cd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3594ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3418ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000df'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000db'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5261ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4359ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3864ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e0'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000db'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4799ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000e0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3545ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4352ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000df')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3685ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3451ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3281ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7042ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000db')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000e1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1954ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8917ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dd')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000e1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7999ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dc')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000e1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7613ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8473ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e1'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000d9'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000db'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4632ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3752ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e3'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6458ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e4'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6938ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e3')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e5'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7468ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e3')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e7'), "weight"=>10, "name"=>"asdfasdfffffff", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5762ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7417ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4422ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3599ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3572ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000d9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000da')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3631ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3282ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4226ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4106ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e9'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9647ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5172ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ea'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5848ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5136ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3236ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000eb'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4997ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3422ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ec'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3444ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3208ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ed'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8687ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000db')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000dc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5556ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.8264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6573ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 1.3899ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ef'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3105ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5827ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f0'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6236ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f1'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6117ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7000ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3984ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000df')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3815ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4069ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3923ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4464ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3242ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4771ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3387ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3761ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000f3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4949ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d36650000f2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7843ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000f4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6229ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000f4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5400ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ef')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d36650000f4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5349ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5092ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f4'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000ec'), "site_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3690ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4237ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3359ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f6'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5126ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f7'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f6')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f8'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5158ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4009ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5460ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f6')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fa'), "weight"=>10, "name"=>"asdfasdfffffff", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4893ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6025ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000e9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4082ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ea')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3584ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000eb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3588ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ec')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4290ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ed')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3501ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3618ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3059ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6929ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3091ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3118ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fc'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5410ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3594ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3046ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3045ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fd'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3721ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3588ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fe'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4245ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ff'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5340ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3367ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3279ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000100'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6206ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ee')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3762ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ef')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4418ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000101'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4605ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4653ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000102'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4448ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000103'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4867ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000101')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000104'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4933ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4386ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3812ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3479ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000105'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000101'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5425ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3823ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000106'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000101'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4029ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d3665000106')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3677ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d3665000105')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3911ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4349ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3350ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000101')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5574ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000103')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6843ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000102')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000108'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000107'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.4116ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000107'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d36650000ff'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000101'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4242ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4039ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3177ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000109'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5829ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000109')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010a'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5812ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000109')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010b'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000107')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5911ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4624ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3704ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3719ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000fe')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d36650000ff')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3600ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000100')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2622ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2877ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0455ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3917ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3167ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5331ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3889ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3017ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3843ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4712ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000110'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4471ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3573ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3373ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000111'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4570ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3235ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000112'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7475ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7644ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000101')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000103')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000102')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3701ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000113'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4572ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000114'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4932ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000115'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000113')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000116'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4368ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000106')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3878ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000105')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4180ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4792ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000117'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d366500010d'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000113'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4685ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3655ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000118'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d366500010d'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000113'), "updated_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5597ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5332ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4452ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d3665000118')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500010d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad021fe0e2d3665000117')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7218ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000113')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011a'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000119'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6156ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000115')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011a'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000119'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5392ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000114')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011a'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad021fe0e2d3665000119'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5931ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000119'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad021fe0e2d3665000111'), "site_id"=>BSON::ObjectId('572ad021fe0e2d3665000113'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4418ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4102ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000109')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3479ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2921ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2973ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011b'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5243ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500011b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5257ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500011b')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011d'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7377ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000119')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3203ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6748ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500010d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3925ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500010e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4073ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500010f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3513ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000110')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3541ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000111')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000112')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3397ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2924ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3144ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000120'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5934ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5575ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3051ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad021fe0e2d3665000121'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:25 UTC, "created_at"=>2016-05-05 04:46:25 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6822ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4515ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9024ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0984ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000122'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7003ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5303ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3099ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000123'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6842ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4276ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4310ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000124'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7616ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000113')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4105ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000115')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4480ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000114')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3709ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5409ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000125'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5420ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5213ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000126'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5179ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5204ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000127'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5726ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000125')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000128'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5109ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000118')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3735ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000117')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4951ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000129'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d366500011f'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000125'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4814ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4834ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3349ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad021fe0e2d366500011f'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000125'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500012a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3864ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad021fe0e2d366500011f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000129')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3837ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4201ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3523ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5538ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000125')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500012b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5665ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000127')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500012b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6058ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5927ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000126')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500012b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7661ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000123'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000125'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3832ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4645ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500011b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4132ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012d'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7452ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500012d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6342ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500012d')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500012f'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4764ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500012b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6474ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3855ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6794ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d366500011f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4167ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000120')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3880ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad021fe0e2d3665000121')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000122')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000123')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3594ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000124')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3625ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3671ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3386ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3614ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000131'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3814ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2956ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000132'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5583ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3269ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3067ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000133'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5368ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3548ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3362ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000134'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3226ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000135'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3708ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000136'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8807ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000125')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000127')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4020ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000126')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4565ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5200ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000137'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5293ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000138'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5498ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5337ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000139'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000137')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013a'), "weight"=>10, "name"=>"site feature", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4601ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500012a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3788ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000129')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3727ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4244ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000131'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000137'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5116ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5075ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3432ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000131'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000137'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000131')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4763ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500013c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4117ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000131')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4259ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500013b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3618ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5631ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000137')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500013d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6300ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000139')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500013d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5948ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5552ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000138')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500013d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5618ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6292ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013d'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000135'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000137'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6277ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3925ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4917ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500012d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3744ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3576ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3090ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500013f'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6009ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000140'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6236ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013f')} update={"$push"=>{"features"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000141'), "weight"=>10, "name"=>"some feature name", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4853ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5306ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4387ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6423ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3482ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7141ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000131')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4871ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000132')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000133')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3539ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000134')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000135')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3810ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000136')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3673ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3343ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000143'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6780ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3424ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000144'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4052ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000145'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3812ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3117ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000146'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3820ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4144ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000147'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7303ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0157ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.4894ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000148'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7786ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9624ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000137')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4037ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000139')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4174ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000138')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3319ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5132ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000149'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.7656ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014a'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8075ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4967ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014b'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4526ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4157ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.2856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3905ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3455ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000143'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000149'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5307ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3080ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000143'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000149'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000143')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500014d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000143')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500014c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3954ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4024ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3225ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6837ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000149')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8066ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8647ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6345ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014f'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500014e'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5719ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500014e'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000147'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000149'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7687ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "domain"=>"new-domain", "lang"=>"en"}} runtime: 0.5031ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7666ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000143')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4825ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000144')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3681ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000145')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000146')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3496ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000147')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4549ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000148')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3938ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4048ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000150'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4152ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3348ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000151'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6061ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3220ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2965ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000152'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5036ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1039ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8595ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000153'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5938ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3325ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3189ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000154'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5093ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3473ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3602ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000155'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6349ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000149')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3383ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3958ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3271ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4083ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000156'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9673ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4479ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000157'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5713ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000158'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5164ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5026ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4090ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4341ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000159'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000150'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000156'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3429ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015a'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000150'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000156'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4655ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000150')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500015a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4026ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000150')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000159')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4340ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500014e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3854ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5146ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000156')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500015b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5354ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000158')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500015b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6133ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5223ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000157')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015c'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500015b'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5059ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015b'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000154'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000156'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4878ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5180ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000150')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000151')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3598ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000152')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3285ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000153')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3376ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000154')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3048ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000155')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.2950ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3667ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2858ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2743ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015d'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2794ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015e'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4420ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3404ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2753ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015f'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5388ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000160'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5910ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4584ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3041ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2780ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000161'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2617ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000162'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5305ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000156')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000158')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000157')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3081ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5243ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000163'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4533ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4368ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000164'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4218ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.3910ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000165'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4365ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500015a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3695ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000159')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3597ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3839ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000166'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d366500015d'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000163'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5922ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3505ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000167'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d366500015d'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000163'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5045ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4193ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000167')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500015d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3868ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000166')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3892ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3963ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500015b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5757ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4977ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000163')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000169'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000168'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 8.6956ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000165')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000169'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000168'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5630ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000164')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000169'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000168'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6099ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000168'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000161'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000163'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5364ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6774ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500015d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4027ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500015e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3444ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500015f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000160')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000161')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000162')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3013ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2938ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6052ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4136ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3241ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3017ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3565ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4097ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0291ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3698ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3172ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3654ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3039ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7247ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000163')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000165')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000164')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3679ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4636ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000170'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4781ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000171'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5954ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5619ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000172'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5219ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5159ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000167')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3924ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000166')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4458ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3897ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000173'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d366500016a'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000170'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5547ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4094ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000174'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d366500016a'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000170'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4403ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000174')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3637ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d366500016a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6491ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000173')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5824ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5504ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000168')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4505ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2415ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6886ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000170')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000176'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000175'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7788ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000172')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000176'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000175'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6104ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5368ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000171')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000176'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000175'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5780ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5430ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000175'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d366500016e'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000170'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5973ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5761ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000170')} update={"$set"=>{"is_ads_enabled"=>false, "updated_at"=>2016-05-05 04:46:26 UTC}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5410ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4783ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5336ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3347ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3487ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500016f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3976ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2752ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2765ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000177'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6393ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4856ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000178'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4793ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5292ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5864ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000179'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7726ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3152ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017a'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017b'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5268ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1004ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017c'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5841ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7409ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000170')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000172')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000171')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3526ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6295ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017d'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.6241ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017e'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5292ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4442ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500017f'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4512ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000174')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4716ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000173')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3883ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3801ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000180'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000177'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500017d'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3227ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000181'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000177'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500017d'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5564ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000177')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4279ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000181')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000177')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d3665000180')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4822ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000175')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8275ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017d')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000183'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000182'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6075ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000183'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000182'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7365ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000183'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d3665000182'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7885ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9113ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000182'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d366500017b'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500017d'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.7192ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7747ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000177')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6041ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000178')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5517ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000179')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5089ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5413ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6131ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5710ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0790ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6383ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000184'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6138ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4596ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000185'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5268ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8070ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6390ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000186'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4918ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6483ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5045ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000187'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7801ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.7311ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3224ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000188'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5387ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4535ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000189'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3334ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500017e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.6529ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5352ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4396ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5223ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5744ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4743ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000181')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000180')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3682ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3735ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000184'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500018a'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5240ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4846ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4611ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000184'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500018a'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5072ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5119ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000184')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500018e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000184')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2068ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500018d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6076ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5366ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000182')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5987ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5141ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9670ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000190'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500018f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.3874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5255ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018c')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000190'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500018f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1382ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018b')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000190'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad022fe0e2d366500018f'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0439ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2741ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500018f'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000188'), "site_id"=>BSON::ObjectId('572ad022fe0e2d366500018a'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5922ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5532ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000191'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500018e'), "is_feature"=>false, "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6889ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7928ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "_id"=>BSON::ObjectId('572ad022fe0e2d366500018a')}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5519ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7237ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000184')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3933ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000185')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4198ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000186')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7635ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000187')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0934ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000188')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8048ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000189')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7250ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3489ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000192'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5854ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3810ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3005ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000193'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000194'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4344ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8131ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000195'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7220ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4700ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3762ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3760ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000196'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4058ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3147ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3164ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000197'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5752ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6091ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4342ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3771ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4114ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000198'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5316ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4903ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000199'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5283ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 1.1646ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500019a'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:26 UTC, "created_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.4788ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.0742ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4813ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4607ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5382ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6374ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4760ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500019b'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000192'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000198'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7195ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4164ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad022fe0e2d366500019c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000192'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000198'), "updated_at"=>2016-05-05 04:46:26 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5913ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000192')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500019c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5273ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad022fe0e2d3665000192')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4277ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad022fe0e2d366500019b')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4726ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500018f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8704ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6393ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000198')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d366500019d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6854ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500019a')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d366500019d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5714ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5575ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000199')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019e'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d366500019d'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6022ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6400ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019d'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad022fe0e2d3665000196'), "site_id"=>BSON::ObjectId('572ad022fe0e2d3665000198'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5032ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8225ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000192')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4473ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000193')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4051ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000194')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000195')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3882ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000196')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3421ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000197')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3984ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3113ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8139ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5773ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a0'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3825ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a1'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2204ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4632ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3208ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a2'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5569ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3207ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3303ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a3'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5559ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4537ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8640ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a4'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7142ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000198')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500019a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5064ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad022fe0e2d3665000199')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3990ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5401ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4999ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a6'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5054ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5706ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a7'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4638ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500019c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3781ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500019b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3622ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4282ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4652ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a8'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d366500019f'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.2126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.5195ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4337ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d366500019f'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5787ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5128ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001a9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d366500019f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4429ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001a8')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3859ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4211ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500019d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3394ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5880ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5639ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5537ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6094ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ab'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001aa'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5680ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001aa'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001a3'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5536ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8176ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500019f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1264ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9718ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4195ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4554ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3197ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3071ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3161ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ad'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5568ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3958ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3103ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3148ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ae'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3870ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3527ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001af'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6998ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3060ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3320ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b0'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5402ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3757ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4035ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2273ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b1'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6666ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6323ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3529ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5194ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3945ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5034ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4833ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4970ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b3'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4860ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4862ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b4'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4865ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4583ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4312ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.6519ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.3365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0099ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5442ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3554ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b5'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5802ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5614ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5101ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b6'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5652ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001b6')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4048ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4289ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001b5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3648ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4303ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5182ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4180ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6059ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001b7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5683ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5588ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001b7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.9438ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7989ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b8'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001b7'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5676ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b7'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001b0'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5197ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6851ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5510ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4137ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3412ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3668ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6666ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3082ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2860ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ba'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5600ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3127ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4479ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bb'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.5447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4975ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3437ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3300ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bc'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6025ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3940ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3829ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bd'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4799ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3293ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001be'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5494ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7099ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3791ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5285ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4802ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c0'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4736ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5015ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c1'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4693ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4536ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3749ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3635ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3465ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3737ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3158ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c2'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4691ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5195ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3285ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3942ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001c3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001c2')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4099ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3632ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4927ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5237ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4888ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c1')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5728ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c0')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c5'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001c4'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5751ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4988ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c4'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001bd'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6233ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001b9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3941ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ba')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3360ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001be')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3044ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3972ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3040ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3089ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c7'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3535ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c8'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5208ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3337ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2921ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c9'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0178ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4753ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3218ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ca'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4991ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4243ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3190ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3438ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cb'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6879ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001bf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3842ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3595ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5205ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4528ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4196ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cd'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4383ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ce'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3910ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3706ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4209ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4251ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3173ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cf'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d0'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4809ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3811ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001d0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001cf')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3650ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3829ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4835ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5618ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5196ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ce')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6120ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5103ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cd')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d2'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001d1'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5534ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d1'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001ca'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4641ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6040ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3568ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001c9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ca')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2975ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4263ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3004ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2969ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d4'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7357ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1765ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8092ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d5'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3689ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d6'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6563ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3768ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2872ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d7'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5371ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3522ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d8'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5031ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7240ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4978ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ce')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3671ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3458ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4507ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4664ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001da'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5425ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001db'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5399ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5099ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4095ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001cf')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4256ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3869ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4014ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4365ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001dc'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8637ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001dd'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5537ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5266ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4589ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001dd')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4538ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001dc')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3867ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4769ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001de'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7866ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001db')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001de'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7023ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001da')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001df'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001de'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7196ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7756ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001de'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001d7'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6287ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7980ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4044ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3950ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3844ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4371ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3708ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4681ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3270ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3036ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6103ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3006ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e1'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5716ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3684ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3896ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3412ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e2'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4895ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5277ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9242ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e3'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4144ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3181ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3374ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e4'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6042ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3389ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3132ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e5'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5323ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7488ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001d9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3937ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001db')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3860ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001da')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4838ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4663ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e7'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4725ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e8'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5232ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4668ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001dd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3609ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001dc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4129ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4426ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3122ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5103ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5551ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4565ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4041ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ea'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5680ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5988ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4206ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001ea')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4006ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001e9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4604ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001de')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3741ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5721ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ec'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001eb'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5706ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e8')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ec'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001eb'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5604ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6301ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e7')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ec'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001eb'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5541ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5478ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001eb'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001e4'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5321ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6836ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4319ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3903ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3569ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3718ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3763ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3697ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2977ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3015ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5301ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ee'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4409ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3396ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3533ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ef'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6180ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.3579ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5196ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3316ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f0'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3890ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f1'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5632ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4131ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3161ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3672ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f2'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7449ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4129ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4081ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4053ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5508ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5222ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4572ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f4'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5341ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4723ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f5'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4597ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ea')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001e9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4283ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3220ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f6'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5346ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4799ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3604ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f7'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3'), "updated_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5467ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001f7')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4090ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad023fe0e2d36650001f6')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4008ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4163ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001eb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3828ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3529ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5208ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001f8'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5796ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f5')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001f8'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5449ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f4')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f9'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad023fe0e2d36650001f8'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5520ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f8'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001f1'), "site_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6000ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7010ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ed')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3946ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ee')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ef')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3577ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4115ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4046ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3469ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3727ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3034ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fa'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3754ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3371ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fb'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5283ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3573ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fc'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5347ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4241ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1657ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fd'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4064ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2917ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3370ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fe'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5776ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4507ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3605ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ff'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5744ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6324ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4029ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4443ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5537ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000200'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5947ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5878ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000201'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6327ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5153ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000202'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5209ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000203'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad023fe0e2d36650001fa'), "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6421ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4518ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fb')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4192ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fc')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4088ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fd')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3895ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001fe')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001ff')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4283ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4142ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3552ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000204'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4503ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3223ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000205'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1825ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3939ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000206'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6149ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4506ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3894ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3757ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000207'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5392ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3750ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3601ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9007ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000208'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2996ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000209'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5342ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000200')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3824ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000202')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4905ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000201')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4005ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4951ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5562ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4760ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5401ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4579ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5020ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020d'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad023fe0e2d3665000204'), "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7429ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000204')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4858ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000205')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4442ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000206')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4021ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000207')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4060ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000208')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4229ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000209')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4182ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3626ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3133ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3447ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020e'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7023ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4305ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3549ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3506ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500020f'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5419ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3910ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3186ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000210'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4372ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000211'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4388ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3332ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3312ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000212'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3590ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000213'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5857ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5615ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500020a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500020c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3677ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500020b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4014ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5740ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000214'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4868ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4699ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000215'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8651ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5663ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000216'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5733ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=photos documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000217'), "weight"=>10, "is_public"=>true, "is_trash"=>false, "user_id"=>BSON::ObjectId('572ad023fe0e2d366500020e'), "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5449ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6328ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500020e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500020f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3773ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000210')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3693ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000211')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4067ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000212')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3976ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000213')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3142ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3093ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000218'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6678ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3381ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000219'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6057ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3182ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5284ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4532ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9646ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6421ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2993ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2744ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2941ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3166ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5664ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4967ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000214')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3578ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000216')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000215')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4453ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5022ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5311ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4680ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d366500021f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5042ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5104ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000220'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:27 UTC, "created_at"=>2016-05-05 04:46:27 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5175ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4857ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4013ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3721ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3906ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3780ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000221'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d3665000218'), "site_id"=>BSON::ObjectId('572ad023fe0e2d366500021e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5315ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3232ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000222'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad023fe0e2d3665000218'), "site_id"=>BSON::ObjectId('572ad023fe0e2d366500021e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5598ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5435ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000218')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4782ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000222')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad023fe0e2d3665000218')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4438ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000221')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4225ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad023fe0e2d36650001f8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3972ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3884ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3312ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5466ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000224'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000223'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6742ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5998ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000220')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000224'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000223'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5628ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5696ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000224'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000223'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6366ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000223'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad023fe0e2d366500021c'), "site_id"=>BSON::ObjectId('572ad023fe0e2d366500021e'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5373ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4007ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4656ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad022fe0e2d366500013f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4485ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3633ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3281ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000225'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5545ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000225')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000226'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6268ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4868ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000223')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4731ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3454ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6797ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000218')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4311ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000219')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3856ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4035ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3756ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3537ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3587ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3183ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3042ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000228'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3114ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000229'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3159ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4443ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0575ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6636ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3520ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3652ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5856ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4113ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3199ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5747ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7400ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3885ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d3665000220')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4279ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad023fe0e2d366500021f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4265ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4604ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6089ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4755ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500022f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4869ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5211ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000230'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5339ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000222')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4596ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000221')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4011ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3865ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4534ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000231'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000228'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500022e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5498ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5163ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4359ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3431ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000232'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000228'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500022e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5108ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000228')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3955ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000232')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3820ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000228')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000231')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3462ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3915ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3436ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5977ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000234'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000233'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5748ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5845ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000230')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000234'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000233'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6689ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6706ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000234'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000233'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6186ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000233'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad024fe0e2d366500022c'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500022e'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5914ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4433ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4646ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000225')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3787ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2944ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000235'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5756ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000235')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000236'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4872ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000233')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4056ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6375ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3592ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6383ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000228')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4268ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000229')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4177ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4034ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3466ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3583ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3115ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3278ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000238'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3879ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3202ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000239'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5808ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4216ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3545ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3641ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6089ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0966ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4341ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3221ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3560ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3979ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4429ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4454ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6696ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6538ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3766ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000230')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3642ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500022f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3432ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4422ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4845ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4791ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500023f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4575ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4933ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000240'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4775ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4347ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000232')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000231')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3620ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3803ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4095ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3079ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000241'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000238'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500023e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4907ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4271ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3240ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000242'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000238'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500023e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5212ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000238')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4499ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000242')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3704ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000238')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3841ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000241')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3781ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3290ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3511ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5183ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000244'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000243'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6609ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5501ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000240')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000244'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000243'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000244'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000243'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5042ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000243'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad024fe0e2d366500023c'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500023e'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5326ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3606ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3877ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000235')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3777ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3130ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2897ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000245'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5649ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000245')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000246'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5335ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4528ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000243')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4311ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3180ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6342ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000238')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4873ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000239')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3562ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3527ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3390ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4749ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2977ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000248'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6333ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3692ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3050ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3067ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000249'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4773ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3602ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2966ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2891ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4649ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3448ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 11.3974ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3860ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3127ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4934ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3726ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3053ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3064ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5540ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6891ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3732ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000240')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4251ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500023f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4593ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5092ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4540ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500024f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5628ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4801ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000250'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4802ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000242')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4630ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000241')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4439ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4301ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3204ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000251'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000248'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500024e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4522ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3493ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000252'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000248'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500024e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5752ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4939ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000248')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000252')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4179ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000248')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3964ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000251')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3756ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"_type"=>{"$in"=>["Gallery"]}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4079ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"some-gallery-name", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>nil, "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5601ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024e')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000254'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000253'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5554ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000250')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000254'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000253'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6638ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5905ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024f')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000254'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "is_feature"=>false, "gallery_id"=>BSON::ObjectId('572ad024fe0e2d3665000253'), "username"=>"manager", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6077ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5835ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=app_model2s documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000253'), "is_public"=>true, "_type"=>"Gallery", "lang"=>"en", "is_trash"=>false, "name"=>"some-gallery-name", "user_id"=>BSON::ObjectId('572ad024fe0e2d366500024c'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500024e'), "is_feature"=>false, "is_done"=>false, "is_anonymous"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC, "username"=>"manager", "galleryname"=>"some-gallery-name"}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4983ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3947ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"$query"=>{}, "$orderby"=>{"name"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4417ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000245')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"cityname"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3872ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_en"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3517ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_ru"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3662ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=cities selector={"name_pt"=>"rio"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3261ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=cities documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000255'), "name_en"=>"rio", "name_ru"=>"rio", "name_pt"=>"rio", "n_newsitems"=>16, "n_features"=>4, "is_feature"=>false, "name"=>"Rio Name", "cityname"=>"rio", "calendar_frame"=>"calendar", "x"=>1.5, "y"=>1.5, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5660ms MOPED: 192.168.56.11:27017 UPDATE database=ish_test collection=cities selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000255')} update={"$push"=>{"newsitems"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000256'), "weight"=>10, "n_upvotes"=>0, "n_downvotes"=>0, "upvoting_users"=>[], "downvoting_users"=>[], "deleted_at"=>nil, "descr"=>"first newsitem", "is_feature"=>false, "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}}} flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5248ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "_type"=>{"$in"=>["Gallery"]}}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4666ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=app_model2s selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000253')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7058ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"name"=>"a", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=app_model2s selector={"galleryname"=>"bb", "_type"=>{"$in"=>["Gallery"]}} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3399ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6432ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000248')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4063ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000249')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3631ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3457ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3509ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2979ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2926ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000258'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6544ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3588ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2924ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3032ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000259'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3450ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3349ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3033ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025a'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5521ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4595ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3216ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025b'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.1100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3508ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3103ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025c'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5875ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3999ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3001ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025d'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5468ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6827ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3960ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000250')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4127ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500024f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3949ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4489ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025e'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4879ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4784ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500025f'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4460ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4912ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000260'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000252')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3559ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000251')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4672ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5739ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5186ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3543ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000261'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000258'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500025e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5652ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5267ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4483ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3630ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000262'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000258'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500025e'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5215ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5001ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000258')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3751ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000262')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3981ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000258')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000261')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4249ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7311ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000258')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000259')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3848ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3730ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3919ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2968ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2972ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000263'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6978ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3736ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3111ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3075ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000264'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5356ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4194ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3294ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3283ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000265'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3935ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3271ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2930ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000266'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6659ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3674ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3320ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000267'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5324ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3963ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3306ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000268'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5214ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4938ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3806ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000260')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3474ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500025f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3720ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4706ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000269'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4916ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5131ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026a'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4826ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5247ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026b'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5256ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3588ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000261')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3624ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000262')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4037ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4138ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4627ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3402ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026c'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000263'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000269'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5288ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4667ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4285ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3659ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000263'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000269'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5068ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000263')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4301ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d366500026d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4487ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000263')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4766ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d366500026c')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4009ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026c')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3702ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6338ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000263')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4036ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000264')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3548ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000265')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4071ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000266')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4016ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000267')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3434ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000268')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3411ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4332ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3100ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3414ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026e'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6841ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3818ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3586ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3451ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026f'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5087ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3658ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3410ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3314ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000270'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5761ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4946ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5408ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2001ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000271'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6105ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3844ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3124ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000272'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6461ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4086ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3073ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000273'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5429ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000269')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3632ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3508ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4660ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000274'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5073ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5173ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000275'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4889ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5347ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000276'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4697ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3943ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4025ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3348ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3582ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5361ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5732ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3382ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000277'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500026e'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000274'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4969ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3244ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000278'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500026e'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000274'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5817ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5230ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000278')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4470ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500026e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4272ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000277')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7464ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4426ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500026f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3707ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000270')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000271')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3514ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000272')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000273')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3643ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3018ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3042ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000279'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6718ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4312ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3518ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3030ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027a'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5427ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3833ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3258ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2977ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027b'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5646ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4049ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3087ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027c'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7121ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3422ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3426ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027d'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5401ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3957ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3158ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027e'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5301ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000274')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3661ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000276')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3845ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000275')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3849ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4714ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500027f'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4947ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4623ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000280'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5373ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4386ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000281'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5059ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4257ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000277')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4149ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000278')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.0743ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5187ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4039ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4242ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3704ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000282'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000279'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500027f'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4877ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4816ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5030ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4057ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000283'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000279'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500027f'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5852ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4995ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000279')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000283')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4728ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000279')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4062ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000282')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3956ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7437ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000279')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4579ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3566ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3463ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3754ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3746ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3377ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.8516ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0348ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4054ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000284'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5826ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3585ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2954ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3470ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000285'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5205ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3778ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3106ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3076ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000286'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5687ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3746ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3043ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3272ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000287'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3688ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3515ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3362ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000288'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5868ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3961ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3528ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3168ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000289'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5709ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5255ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500027f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3999ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000281')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3551ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000280')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3819ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4688ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028a'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5047ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4395ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028b'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5018ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5124ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028c'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5261ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3414ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000282')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000283')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4200ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4297ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4635ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3292ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028d'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000284'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500028a'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5102ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5366ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3787ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028e'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d3665000284'), "site_id"=>BSON::ObjectId('572ad024fe0e2d366500028a'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5330ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5162ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000284')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3861ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d366500028e')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3881ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000284')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4191ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d366500028d')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3791ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7235ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000284')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4303ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000285')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3523ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000286')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3670ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000287')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4030ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000288')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3543ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000289')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3417ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3185ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.2768ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028f'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7166ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3931ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3489ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3006ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000290'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5645ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3767ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3126ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3186ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000291'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5447ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3930ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3338ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3423ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000292'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 2.6008ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3495ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000293'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5546ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3734ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3080ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3452ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000294'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 1.6580ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6778ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4521ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3935ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3532ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4632ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000295'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4998ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4957ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000296'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5145ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4743ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000297'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5484ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3845ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3965ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.8851ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4836ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4410ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5202ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3749ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000298'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500028f'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000295'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5794ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5063ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5143ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3622ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d3665000299'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500028f'), "site_id"=>BSON::ObjectId('572ad024fe0e2d3665000295'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5874ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8973ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000299')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4472ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500028f')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5233ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d3665000298')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4224ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6950ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500028f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4331ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000290')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4356ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000291')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4232ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000292')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4441ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000293')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3977ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000294')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4241ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4055ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3318ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3112ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029a'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6088ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4481ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3599ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3491ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029b'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5923ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4174ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3096ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3141ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029c'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6140ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.6911ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0255ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.0645ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029d'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6863ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4223ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3488ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3150ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029e'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5971ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5107ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4156ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3830ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029f'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6491ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6173ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000295')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4276ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000297')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4223ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000296')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.4916ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a0'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5181ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.5264ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a1'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5279ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5036ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a2'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5222ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3654ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000298')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4104ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d3665000299')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3717ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4213ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4264ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4862ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3427ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a3'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500029a'), "site_id"=>BSON::ObjectId('572ad024fe0e2d36650002a0'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5332ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5078ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4680ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3564ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a4'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d366500029a'), "site_id"=>BSON::ObjectId('572ad024fe0e2d36650002a0'), "updated_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5704ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5446ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4442ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d36650002a4')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4015ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d366500029a')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4145ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad024fe0e2d36650002a3')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7453ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6618ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029a')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4259ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029b')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3906ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029c')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3742ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029d')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4006ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029e')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3864ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d366500029f')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3555ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3926ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3427ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.9433ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6970ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5701ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3362ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a6'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6795ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4235ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3345ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3367ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a7'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.2902ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5558ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3704ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a8'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:28 UTC, "created_at"=>2016-05-05 04:46:28 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6480ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.5083ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3370ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3363ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002a9'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7033ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4094ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3398ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4712ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002aa'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6466ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6042ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a0')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4347ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a2')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4193ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a1')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3953ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5640ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ab'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5610ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ac'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5579ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.5996ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ad'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5434ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5154ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a4')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a3')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3798ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3959ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4263ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4497ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3404ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ae'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5'), "site_id"=>BSON::ObjectId('572ad025fe0e2d36650002ab'), "updated_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5549ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3627ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002af'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5'), "site_id"=>BSON::ObjectId('572ad025fe0e2d36650002ab'), "updated_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6557ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5304ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4246ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad025fe0e2d36650002af')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4571ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad025fe0e2d36650002ae')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6678ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a5')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a6')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a7')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3698ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad024fe0e2d36650002a8')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3850ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002a9')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3932ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=users selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002aa')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3831ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3719ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3155ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3248ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b0'), "email"=>"user@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user", "name"=>"user", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7238ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9771ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"anon@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4871ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"anon"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3745ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b1'), "email"=>"anon@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"anon", "name"=>"Anonymous", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6165ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3980ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"simple@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3317ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"simple"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3379ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b2'), "email"=>"simple@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"simple", "name"=>"simple", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6308ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 1.1616ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"user_2@user.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.9992ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"user_2"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3753ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b3'), "email"=>"user_2@user.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"user_2", "name"=>"user_2", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5823ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4199ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"manager@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3295ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"manager"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3464ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b4'), "email"=>"manager@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>2, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"manager", "name"=>"simple", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.6110ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4170ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"email"=>"piousbox@gmail.com"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3384ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"username"=>"piousbox"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.4136ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=users documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b5'), "email"=>"piousbox@gmail.com", "encrypted_password"=>"$2a$10$PoBe1MvkoGJsjMVTEjKqgeBUp.xdfzWoiDjBzQhtLAj16NqIa2fOy", "sign_in_count"=>0, "group_id"=>3, "display_ads"=>true, "display_help"=>true, "is_feature"=>false, "is_trash"=>false, "username"=>"piousbox", "name"=>"simple", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.7103ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5963ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ab')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4175ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ad')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=sites selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ac')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3931ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"en", "domain"=>"piousbox.com"}} runtime: 0.5749ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b6'), "lang"=>"en", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5470ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"ru", "domain"=>"piousbox.com"}} runtime: 0.4962ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b7'), "lang"=>"ru", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4776ms MOPED: 192.168.56.11:27017 COMMAND database=ish_test command={:count=>"sites", :query=>{"is_trash"=>false, "lang"=>"pt", "domain"=>"piousbox.com"}} runtime: 0.4265ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=sites documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b8'), "lang"=>"pt", "n_features"=>4, "n_newsitems"=>20, "is_ads_enabled"=>true, "homepage_layout"=>"show", "layout"=>"application", "is_trash"=>false, "is_video_enabled"=>false, "is_resume_enabled"=>false, "is_primary"=>false, "is_private"=>false, "domain"=>"piousbox.com", "updated_at"=>2016-05-05 04:46:29 UTC, "created_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.4805ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4502ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002af')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3690ms MOPED: 192.168.56.11:27017 DELETE database=ish_test collection=reports selector={"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ae')} flags=[:remove_first] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.3608ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=tags selector={"$query"=>{"is_public"=>true, "is_trash"=>false, "domain"=>"test.local"}, "$orderby"=>{"name"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3738ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3850ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4642ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah-blah344443"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3421ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b9'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah blah 3 saa", "name_seo"=>"blah-blah344443", "created_at"=>2012-01-01 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad025fe0e2d36650002b0'), "site_id"=>BSON::ObjectId('572ad025fe0e2d36650002b6'), "updated_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5511ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4759ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=sites selector={"$query"=>{"is_trash"=>false}, "$orderby"=>{"domain"=>1, "lang"=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4321ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"name_seo"=>"blah_9"} flags=[] limit=-1 skip=0 batch_size=nil fields={:_id=>1} runtime: 0.3396ms MOPED: 192.168.56.11:27017 INSERT database=ish_test collection=reports documents=[{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002ba'), "is_public"=>true, "is_done"=>true, "lang"=>"en", "username"=>"username", "n_upvotes"=>0, "n_spamvotes"=>0, "is_trash"=>false, "is_feature"=>false, "name"=>"blah 9", "name_seo"=>"blah_9", "created_at"=>2012-01-10 00:00:00 UTC, "user_id"=>BSON::ObjectId('572ad025fe0e2d36650002b0'), "site_id"=>BSON::ObjectId('572ad025fe0e2d36650002b6'), "updated_at"=>2016-05-05 04:46:29 UTC}] flags=[] COMMAND database=ish_test command={:getlasterror=>1, :w=>1} runtime: 0.5173ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=reports selector={"$query"=>{"is_public"=>true, "is_trash"=>false}, "$orderby"=>{"created_at"=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4624ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4313ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad025fe0e2d36650002ba')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4137ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('572ad025fe0e2d36650002b0')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3980ms MOPED: 192.168.56.11:27017 QUERY database=ish_test collection=photos selector={"$query"=>{"is_trash"=>false, "report_id"=>BSON::ObjectId('572ad025fe0e2d36650002b9')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3847ms