iord 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3c7a505bc12412412a00c92d79543c58a5bdfd8b
4
- data.tar.gz: eb65e1df9777a52344a669fa0e20dc7e52e1a85e
3
+ metadata.gz: 2f5773261003e7ec46208742e6593f2663ea4f78
4
+ data.tar.gz: b19eac156c188836c97b24d3b04978cdaae68460
5
5
  SHA512:
6
- metadata.gz: 02f0bc7edc3c785f9c631669d4d64db850baa0a89c1a7bb207299db176b2c5f4d9653a068c595175ab496b6dd8badecf792c947e80fb9d5fb9856c5401d88455
7
- data.tar.gz: fe2d29e1c6101edf143235743bc061cb573efc69768a71915b58a7a007e08c4f792165838a7b63a1d14bca33b7537fb4807ef3e79802e3be97ead4ca860d88cc
6
+ metadata.gz: 39eef6a4b67305917a7df40e6ab49546893e28c7825f0577fea4c85b0f38ad81587f4dbd7cbb7c6c22e4c2e43e770ed7c1a914e7d9b8c813ab3d64b7328f2c36
7
+ data.tar.gz: 92b438a3949d2ee37bfae1f647e1de79b93f48d25c1b10e2b12759af575908c1e6e90cf281f9b64fe5b7e5c0a723856e58b0a14a10be8977f7ba8a834166052d
@@ -72,8 +72,11 @@ module Iord
72
72
  end
73
73
 
74
74
  def link_to_edit(object = nil)
75
- v.link_to(v.t('iord.buttons.edit'), v.edit_resource_url(object),
76
- class: 'btn btn-default')
75
+ if v.edit_resource_url?
76
+ v.link_to(v.t('iord.buttons.edit'),
77
+ v.edit_resource_url(object),
78
+ class: 'btn btn-default')
79
+ end
77
80
  end
78
81
 
79
82
  def link_to_destroy(object = nil)
@@ -10,9 +10,10 @@ module Iord
10
10
  helper_method :form_resource_url
11
11
  helper_method :resource_url
12
12
  helper_method :collection_url
13
- helper_method :new_resource_url?
14
13
  helper_method :new_resource_url
14
+ helper_method :new_resource_url?
15
15
  helper_method :edit_resource_url
16
+ helper_method :edit_resource_url?
16
17
  end
17
18
 
18
19
  def has_collection?
@@ -59,7 +60,7 @@ module Iord
59
60
  end
60
61
 
61
62
  def new_resource_url_method
62
- "new#{resource_url_method}".to_sym
63
+ @new_resource_url_method ||= "new_#{resource_url_method}".to_sym
63
64
  end
64
65
  def new_resource_url?
65
66
  self.respond_to?(new_resource_url_method)
@@ -68,10 +69,16 @@ module Iord
68
69
  @new_resource_url ||= self.public_send(new_resource_url_method)
69
70
  end
70
71
 
72
+ def edit_resource_url_method
73
+ @edit_resource_url_method ||= "edit_#{resource_url_method}".to_sym
74
+ end
75
+ def edit_resource_url?
76
+ self.respond_to?(edit_resource_url_method)
77
+ end
71
78
  def edit_resource_url(resource = nil)
72
79
  resource ||= @resource
73
80
  resource = nil unless has_collection?
74
- self.public_send "edit_#{resource_url_method}".to_sym, resource
81
+ self.public_send(edit_resource_url_method, resource)
75
82
  end
76
83
  end
77
84
  end
@@ -1,3 +1,3 @@
1
1
  module Iord
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -413246,4 +413246,3620 @@ Processing by UsersController#update as HTML
413246
413246
  MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b954cd7735337f5c100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2821ms
413247
413247
  Unpermitted parameters: name
413248
413248
  Redirected to http://test.host/users/54b954cd7735337f5c100100
413249
+ Completed 302 Found in 2ms
413250
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6101ms
413251
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3058ms
413252
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
413253
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
413254
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
413255
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4297ms
413256
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
413257
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2835ms
413258
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[]
413259
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4539ms
413260
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
413261
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2343ms
413262
+ -------------------------------------------------------
413263
+ Admin::AdministratorsControllerTest: test_should_create
413264
+ -------------------------------------------------------
413265
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12000000'), "firstname"=>"Jeffrey", "lastname"=>"Hyatt"}] flags=[]
413266
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3964ms
413267
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1318ms
413268
+ Processing by Admin::AdministratorsController#create as HTML
413269
+ Parameters: {"administrator"=>{"firstname"=>"Hello"}}
413270
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12010000'), "firstname"=>"Hello"}] flags=[]
413271
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3660ms
413272
+ Redirected to http://test.host/admin/administrator
413273
+ Completed 302 Found in 2ms
413274
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1484ms
413275
+ ---------------------------------------------------------
413276
+ Admin::AdministratorsControllerTest: test_should_get_edit
413277
+ ---------------------------------------------------------
413278
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12020000'), "firstname"=>"Terrence", "lastname"=>"McLaughlin"}] flags=[]
413279
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2546ms
413280
+ Processing by Admin::AdministratorsController#edit as HTML
413281
+ Parameters: {"id"=>"54b9579d7735330b12020000"}
413282
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579d7735330b12020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2213ms
413283
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.0ms)
413284
+ Completed 200 OK in 18ms (Views: 16.8ms)
413285
+ --------------------------------------------------------
413286
+ Admin::AdministratorsControllerTest: test_should_get_new
413287
+ --------------------------------------------------------
413288
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12030000'), "firstname"=>"Rhea", "lastname"=>"Keebler"}] flags=[]
413289
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3647ms
413290
+ Processing by Admin::AdministratorsController#new as HTML
413291
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
413292
+ Completed 200 OK in 4ms (Views: 3.5ms)
413293
+ ---------------------------------------------------------
413294
+ Admin::AdministratorsControllerTest: test_should_get_show
413295
+ ---------------------------------------------------------
413296
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12040000'), "firstname"=>"Clovis", "lastname"=>"Towne"}] flags=[]
413297
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3510ms
413298
+ Processing by Admin::AdministratorsController#show as HTML
413299
+ Parameters: {"id"=>"54b9579d7735330b12040000"}
413300
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579d7735330b12040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2129ms
413301
+ Completed 200 OK in 3ms (Views: 2.2ms)
413302
+ -------------------------------------------------------
413303
+ Admin::AdministratorsControllerTest: test_should_update
413304
+ -------------------------------------------------------
413305
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12050000'), "firstname"=>"Laurine", "lastname"=>"Mann"}] flags=[]
413306
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3416ms
413307
+ Processing by Admin::AdministratorsController#update as HTML
413308
+ Parameters: {"id"=>"54b9579d7735330b12050000", "administrator"=>{"name"=>"Hello"}}
413309
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579d7735330b12050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2045ms
413310
+ Unpermitted parameters: name
413311
+ Redirected to http://test.host/admin/administrator
413312
+ Completed 302 Found in 2ms
413313
+ -------------------------------------------------
413314
+ Admin::CommentsControllerTest: test_should_create
413315
+ -------------------------------------------------
413316
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12060000'), "name"=>"Kyra Langworth", "reference"=>"Chet Koss", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b12070000'), "author_name"=>"Miss Herta Nitzsche", "content"=>["Qui distinctio magnam in. Cum porro id. Nulla temporibus sed odio. Sed animi aut nulla non magni quis."]}]}] flags=[]
413317
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4226ms
413318
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3325ms
413319
+ Processing by Admin::CommentsController#create as HTML
413320
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9579d7735330b12060000"}
413321
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3852ms
413322
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9579d7735330b12080000'), "author_name"=>"Hello"}}} flags=[]
413323
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4659ms
413324
+ Redirected to http://test.host/admin/products/54b9579d7735330b12060000/comments/54b9579d7735330b12080000
413325
+ Completed 302 Found in 4ms
413326
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4053ms
413327
+ --------------------------------------------------
413328
+ Admin::CommentsControllerTest: test_should_destroy
413329
+ --------------------------------------------------
413330
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12090000'), "name"=>"Jade Bode", "reference"=>"Jana Hartmann I", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b120a0000'), "author_name"=>"Sibyl Kuhic", "content"=>["Facilis repellendus eos exercitationem et et aut enim. Eum quae aperiam architecto. Et fuga atque natus. Eos dicta recusandae ut at voluptatem deleniti."]}]}] flags=[]
413331
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4496ms
413332
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3494ms
413333
+ Processing by Admin::CommentsController#destroy as HTML
413334
+ Parameters: {"product_id"=>"54b9579d7735330b12090000", "id"=>"54b9579d7735330b120a0000"}
413335
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms
413336
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9579d7735330b120a0000')}}} flags=[]
413337
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4844ms
413338
+ Redirected to http://test.host/admin/products/54b9579d7735330b12090000/comments
413339
+ Completed 302 Found in 4ms
413340
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3222ms
413341
+ ---------------------------------------------------
413342
+ Admin::CommentsControllerTest: test_should_get_edit
413343
+ ---------------------------------------------------
413344
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b120b0000'), "name"=>"Rusty Crona", "reference"=>"Mrs. Stuart Rau", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b120c0000'), "author_name"=>"Rosendo O'Hara", "content"=>["Vel eaque harum neque et. Tenetur ducimus numquam. Qui excepturi nam omnis numquam reprehenderit nisi. Dolores mollitia fugiat ab."]}]}] flags=[]
413345
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4336ms
413346
+ Processing by Admin::CommentsController#edit as HTML
413347
+ Parameters: {"product_id"=>"54b9579d7735330b120b0000", "id"=>"54b9579d7735330b120c0000"}
413348
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b120b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3771ms
413349
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms)
413350
+ Completed 200 OK in 8ms (Views: 5.5ms)
413351
+ ----------------------------------------------------
413352
+ Admin::CommentsControllerTest: test_should_get_index
413353
+ ----------------------------------------------------
413354
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b120d0000'), "name"=>"Viola Bruen", "reference"=>"Carolyne Spinka", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b120e0000'), "author_name"=>"Forrest Borer", "content"=>["Tempore optio velit. Quos ducimus sunt omnis fugiat earum. Et quia dolor sed vero mollitia. Quidem necessitatibus quis magnam minus est."]}]}] flags=[]
413355
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4980ms
413356
+ Processing by Admin::CommentsController#index as HTML
413357
+ Parameters: {"product_id"=>"54b9579d7735330b120d0000"}
413358
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b120d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3791ms
413359
+ Completed 200 OK in 5ms (Views: 3.1ms)
413360
+ --------------------------------------------------
413361
+ Admin::CommentsControllerTest: test_should_get_new
413362
+ --------------------------------------------------
413363
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b120f0000'), "name"=>"Ralph Nikolaus IV", "reference"=>"Clementine Wilderman", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b12100000'), "author_name"=>"Mrs. Gust Walker", "content"=>["Doloremque cum deserunt. Omnis tenetur quisquam voluptatem. Iste quae nihil quo enim libero perspiciatis aliquam."]}]}] flags=[]
413364
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5758ms
413365
+ Processing by Admin::CommentsController#new as HTML
413366
+ Parameters: {"product_id"=>"54b9579d7735330b120f0000"}
413367
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b120f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4554ms
413368
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
413369
+ Completed 200 OK in 5ms (Views: 3.6ms)
413370
+ ---------------------------------------------------
413371
+ Admin::CommentsControllerTest: test_should_get_show
413372
+ ---------------------------------------------------
413373
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12110000'), "name"=>"Christ Hayes", "reference"=>"Ciara Boehm", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b12120000'), "author_name"=>"Mr. Lyda Aufderhar", "content"=>["Quidem exercitationem corrupti. Nihil aut consequatur tempore. Autem ea repellendus sapiente hic adipisci ipsam placeat. Iure dolores deleniti similique. Magnam quis soluta dolores sunt autem pariatur magni."]}]}] flags=[]
413374
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5834ms
413375
+ Processing by Admin::CommentsController#show as HTML
413376
+ Parameters: {"product_id"=>"54b9579d7735330b12110000", "id"=>"54b9579d7735330b12120000"}
413377
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
413378
+ Completed 200 OK in 4ms (Views: 2.6ms)
413379
+ -------------------------------------------------
413380
+ Admin::CommentsControllerTest: test_should_update
413381
+ -------------------------------------------------
413382
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579d7735330b12130000'), "name"=>"Mr. Einar Kuhlman", "reference"=>"Elliot Koss", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9579d7735330b12140000'), "author_name"=>"Wilmer Schultz", "content"=>["Eum in dolorem rerum ut. Maxime quia molestias. Sint tenetur recusandae qui porro est."]}]}] flags=[]
413383
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4612ms
413384
+ Processing by Admin::CommentsController#update as HTML
413385
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9579d7735330b12140000", "product_id"=>"54b9579d7735330b12130000"}
413386
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3075ms
413387
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12130000'), "comments._id"=>BSON::ObjectId('54b9579d7735330b12140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
413388
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4692ms
413389
+ Redirected to http://test.host/admin/products/54b9579d7735330b12130000/comments/54b9579d7735330b12140000
413390
+ Completed 302 Found in 4ms
413391
+ -------------------------------------------------
413392
+ Admin::ManagersControllerTest: test_should_create
413393
+ -------------------------------------------------
413394
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12150000'), "name"=>"Ludwig Rippin", "reference"=>"Annabel Shanahan", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12160000'), "firstname"=>"Ellis", "lastname"=>"Abshire"}}] flags=[]
413395
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4360ms
413396
+ Processing by Admin::ManagersController#create as HTML
413397
+ Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9579e7735330b12150000"}
413398
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2987ms
413399
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12150000')} update={"$unset"=>{"manager"=>true}} flags=[]
413400
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3656ms
413401
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12170000'), "firstname"=>"Hello"}}} flags=[]
413402
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2344ms
413403
+ Redirected to http://test.host/admin/products/54b9579e7735330b12150000/manager
413404
+ Completed 302 Found in 4ms
413405
+ ---------------------------------------------------
413406
+ Admin::ManagersControllerTest: test_should_get_edit
413407
+ ---------------------------------------------------
413408
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12180000'), "name"=>"Marilou O'Keefe Jr.", "reference"=>"Suzanne O'Reilly", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12190000'), "firstname"=>"Alana", "lastname"=>"Dicki"}}] flags=[]
413409
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3259ms
413410
+ Processing by Admin::ManagersController#edit as HTML
413411
+ Parameters: {"id"=>"54b9579e7735330b12190000", "product_id"=>"54b9579e7735330b12180000"}
413412
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
413413
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms)
413414
+ Completed 200 OK in 9ms (Views: 7.4ms)
413415
+ --------------------------------------------------
413416
+ Admin::ManagersControllerTest: test_should_get_new
413417
+ --------------------------------------------------
413418
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b121a0000'), "name"=>"Giles Ryan DVM", "reference"=>"Fritz Leuschke", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b121b0000'), "firstname"=>"Kattie", "lastname"=>"Wisozk"}}] flags=[]
413419
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4208ms
413420
+ Processing by Admin::ManagersController#new as HTML
413421
+ Parameters: {"product_id"=>"54b9579e7735330b121a0000"}
413422
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b121a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2800ms
413423
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms)
413424
+ Completed 200 OK in 5ms (Views: 3.8ms)
413425
+ ---------------------------------------------------
413426
+ Admin::ManagersControllerTest: test_should_get_show
413427
+ ---------------------------------------------------
413428
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b121c0000'), "name"=>"Bria Yundt", "reference"=>"Katharina VonRueden", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b121d0000'), "firstname"=>"Loraine", "lastname"=>"Schiller"}}] flags=[]
413429
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4121ms
413430
+ Processing by Admin::ManagersController#show as HTML
413431
+ Parameters: {"id"=>"54b9579e7735330b121d0000", "product_id"=>"54b9579e7735330b121c0000"}
413432
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b121c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2598ms
413433
+ Completed 200 OK in 4ms (Views: 2.4ms)
413434
+ -------------------------------------------------
413435
+ Admin::ManagersControllerTest: test_should_update
413436
+ -------------------------------------------------
413437
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b121e0000'), "name"=>"Miss Letitia Oberbrunner", "reference"=>"Randy Braun", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b121f0000'), "firstname"=>"Johanna", "lastname"=>"Corkery"}}] flags=[]
413438
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
413439
+ Processing by Admin::ManagersController#update as HTML
413440
+ Parameters: {"id"=>"54b9579e7735330b121f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9579e7735330b121e0000"}
413441
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b121e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2614ms
413442
+ Unpermitted parameters: name
413443
+ Redirected to http://test.host/admin/products/54b9579e7735330b121e0000/manager
413444
+ Completed 302 Found in 2ms
413445
+ -------------------------------------------------
413446
+ Admin::ProductsControllerTest: test_should_create
413447
+ -------------------------------------------------
413448
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12200000'), "name"=>"Eladio Fisher", "reference"=>"Emilie Braun", "quantity"=>4}] flags=[]
413449
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4140ms
413450
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
413451
+ Processing by Admin::ProductsController#create as HTML
413452
+ Parameters: {"product"=>{"name"=>"Hello"}}
413453
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12210000'), "name"=>"Hello"}] flags=[]
413454
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3484ms
413455
+ Redirected to http://test.host/admin/products/54b9579e7735330b12210000
413456
+ Completed 302 Found in 2ms
413457
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1753ms
413458
+ --------------------------------------------------
413459
+ Admin::ProductsControllerTest: test_should_destroy
413460
+ --------------------------------------------------
413461
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12220000'), "name"=>"Paris Kub", "reference"=>"Hubert Ferry", "quantity"=>1}] flags=[]
413462
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3012ms
413463
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1571ms
413464
+ Processing by Admin::ProductsController#destroy as HTML
413465
+ Parameters: {"id"=>"54b9579e7735330b12220000"}
413466
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2605ms
413467
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12220000')} flags=[:remove_first]
413468
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms
413469
+ Redirected to http://test.host/admin/products
413470
+ Completed 302 Found in 2ms
413471
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1714ms
413472
+ ---------------------------------------------------
413473
+ Admin::ProductsControllerTest: test_should_get_edit
413474
+ ---------------------------------------------------
413475
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12230000'), "name"=>"Monroe Botsford", "reference"=>"Loyal Fadel", "quantity"=>0}] flags=[]
413476
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2499ms
413477
+ Processing by Admin::ProductsController#edit as HTML
413478
+ Parameters: {"id"=>"54b9579e7735330b12230000"}
413479
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2568ms
413480
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms)
413481
+ Completed 200 OK in 7ms (Views: 5.8ms)
413482
+ ----------------------------------------------------
413483
+ Admin::ProductsControllerTest: test_should_get_index
413484
+ ----------------------------------------------------
413485
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12240000'), "name"=>"Joaquin Eichmann", "reference"=>"Aglae Beier", "quantity"=>2}] flags=[]
413486
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4393ms
413487
+ Processing by Admin::ProductsController#index as HTML
413488
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5984ms
413489
+ Completed 200 OK in 11ms (Views: 10.2ms)
413490
+ --------------------------------------------------
413491
+ Admin::ProductsControllerTest: test_should_get_new
413492
+ --------------------------------------------------
413493
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12250000'), "name"=>"Tia Hauck", "reference"=>"Edmund Crona", "quantity"=>5}] flags=[]
413494
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4682ms
413495
+ Processing by Admin::ProductsController#new as HTML
413496
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms)
413497
+ Completed 200 OK in 20ms (Views: 4.1ms)
413498
+ ---------------------------------------------------
413499
+ Admin::ProductsControllerTest: test_should_get_show
413500
+ ---------------------------------------------------
413501
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12280000'), "name"=>"Denis Haag", "reference"=>"Hoyt Watsica", "quantity"=>7}] flags=[]
413502
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5876ms
413503
+ Processing by Admin::ProductsController#show as HTML
413504
+ Parameters: {"id"=>"54b9579e7735330b12280000"}
413505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3800ms
413506
+ Completed 200 OK in 4ms (Views: 2.5ms)
413507
+ -------------------------------------------------
413508
+ Admin::ProductsControllerTest: test_should_update
413509
+ -------------------------------------------------
413510
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12290000'), "name"=>"Twila Berge", "reference"=>"Ms. Hudson Kessler", "quantity"=>4}] flags=[]
413511
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5736ms
413512
+ Processing by Admin::ProductsController#update as HTML
413513
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9579e7735330b12290000"}
413514
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3516ms
413515
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
413516
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3703ms
413517
+ Redirected to http://test.host/admin/products/54b9579e7735330b12290000
413518
+ Completed 302 Found in 4ms
413519
+ ----------------------------------------------
413520
+ Admin::UsersControllerTest: test_should_create
413521
+ ----------------------------------------------
413522
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122a0000'), "firstname"=>"Tyrese", "lastname"=>"Balistreri"}] flags=[]
413523
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4444ms
413524
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1925ms
413525
+ Processing by Admin::UsersController#create as HTML
413526
+ Parameters: {"user"=>{"name"=>"Hello"}}
413527
+ Unpermitted parameters: name
413528
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122b0000')}] flags=[]
413529
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms
413530
+ Redirected to http://test.host/admin/users/54b9579e7735330b122b0000
413531
+ Completed 302 Found in 2ms
413532
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2025ms
413533
+ -----------------------------------------------
413534
+ Admin::UsersControllerTest: test_should_destroy
413535
+ -----------------------------------------------
413536
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122c0000'), "firstname"=>"Jamir", "lastname"=>"Jacobs"}] flags=[]
413537
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3452ms
413538
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1947ms
413539
+ Processing by Admin::UsersController#destroy as HTML
413540
+ Parameters: {"id"=>"54b9579e7735330b122c0000"}
413541
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579e7735330b122c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3343ms
413542
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579e7735330b122c0000')} flags=[:remove_first]
413543
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3007ms
413544
+ Redirected to http://test.host/admin/users
413545
+ Completed 302 Found in 3ms
413546
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2195ms
413547
+ ------------------------------------------------
413548
+ Admin::UsersControllerTest: test_should_get_edit
413549
+ ------------------------------------------------
413550
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122d0000'), "firstname"=>"Presley", "lastname"=>"Prosacco"}] flags=[]
413551
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
413552
+ Processing by Admin::UsersController#edit as HTML
413553
+ Parameters: {"id"=>"54b9579e7735330b122d0000"}
413554
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579e7735330b122d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4009ms
413555
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms)
413556
+ Completed 200 OK in 40ms (Views: 7.7ms)
413557
+ -------------------------------------------------
413558
+ Admin::UsersControllerTest: test_should_get_index
413559
+ -------------------------------------------------
413560
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122e0000'), "firstname"=>"Xander", "lastname"=>"Parisian"}] flags=[]
413561
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4409ms
413562
+ Processing by Admin::UsersController#index as HTML
413563
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3691ms
413564
+ Completed 200 OK in 6ms (Views: 5.0ms)
413565
+ -----------------------------------------------
413566
+ Admin::UsersControllerTest: test_should_get_new
413567
+ -----------------------------------------------
413568
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b122f0000'), "firstname"=>"Eino", "lastname"=>"Purdy"}] flags=[]
413569
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3740ms
413570
+ Processing by Admin::UsersController#new as HTML
413571
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.5ms)
413572
+ Completed 200 OK in 4ms (Views: 3.3ms)
413573
+ ------------------------------------------------
413574
+ Admin::UsersControllerTest: test_should_get_show
413575
+ ------------------------------------------------
413576
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12300000'), "firstname"=>"Sherman", "lastname"=>"Goyette"}] flags=[]
413577
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4465ms
413578
+ Processing by Admin::UsersController#show as HTML
413579
+ Parameters: {"id"=>"54b9579e7735330b12300000"}
413580
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579e7735330b12300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4093ms
413581
+ Completed 200 OK in 4ms (Views: 2.4ms)
413582
+ ----------------------------------------------
413583
+ Admin::UsersControllerTest: test_should_update
413584
+ ----------------------------------------------
413585
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12310000'), "firstname"=>"Daron", "lastname"=>"Skiles"}] flags=[]
413586
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.4244ms
413587
+ Processing by Admin::UsersController#update as HTML
413588
+ Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9579e7735330b12310000"}
413589
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579e7735330b12310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3877ms
413590
+ Unpermitted parameters: name
413591
+ Redirected to http://test.host/admin/users/54b9579e7735330b12310000
413592
+ Completed 302 Found in 2ms
413593
+ ------------------------------------------------
413594
+ AdministratorsControllerTest: test_should_create
413595
+ ------------------------------------------------
413596
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12320000'), "firstname"=>"Vince", "lastname"=>"Senger"}] flags=[]
413597
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6139ms
413598
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3009ms
413599
+ Processing by AdministratorsController#create as HTML
413600
+ Parameters: {"administrator"=>{"firstname"=>"Hello"}}
413601
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12330000'), "firstname"=>"Hello"}] flags=[]
413602
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4818ms
413603
+ Redirected to http://test.host/administrator
413604
+ Completed 302 Found in 2ms
413605
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.3060ms
413606
+ --------------------------------------------------
413607
+ AdministratorsControllerTest: test_should_get_edit
413608
+ --------------------------------------------------
413609
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12340000'), "firstname"=>"Garret", "lastname"=>"Funk"}] flags=[]
413610
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3904ms
413611
+ Processing by AdministratorsController#edit as HTML
413612
+ Parameters: {"id"=>"54b9579e7735330b12340000"}
413613
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579e7735330b12340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3692ms
413614
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms)
413615
+ Completed 200 OK in 7ms (Views: 5.2ms)
413616
+ -------------------------------------------------
413617
+ AdministratorsControllerTest: test_should_get_new
413618
+ -------------------------------------------------
413619
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12350000'), "firstname"=>"Ursula", "lastname"=>"D'Amore"}] flags=[]
413620
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
413621
+ Processing by AdministratorsController#new as HTML
413622
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms)
413623
+ Completed 200 OK in 4ms (Views: 3.3ms)
413624
+ --------------------------------------------------
413625
+ AdministratorsControllerTest: test_should_get_show
413626
+ --------------------------------------------------
413627
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12360000'), "firstname"=>"Fern", "lastname"=>"Roberts"}] flags=[]
413628
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4431ms
413629
+ Processing by AdministratorsController#show as HTML
413630
+ Parameters: {"id"=>"54b9579e7735330b12360000"}
413631
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579e7735330b12360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3041ms
413632
+ Completed 200 OK in 4ms (Views: 2.3ms)
413633
+ ------------------------------------------------
413634
+ AdministratorsControllerTest: test_should_update
413635
+ ------------------------------------------------
413636
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12370000'), "firstname"=>"Abraham", "lastname"=>"Heller"}] flags=[]
413637
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4337ms
413638
+ Processing by AdministratorsController#update as HTML
413639
+ Parameters: {"id"=>"54b9579e7735330b12370000", "administrator"=>{"name"=>"Hello"}}
413640
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b9579e7735330b12370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3113ms
413641
+ Unpermitted parameters: name
413642
+ Redirected to http://test.host/administrator
413643
+ Completed 302 Found in 2ms
413644
+ --------------------------------------------
413645
+ CategoriesControllerTest: test_should_create
413646
+ --------------------------------------------
413647
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12380000'), "name"=>"Lincoln Kulas"}] flags=[]
413648
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6200ms
413649
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2764ms
413650
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12390000'), "name"=>"Joelle Greenholt"}] flags=[]
413651
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4501ms
413652
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2100ms
413653
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123a0000'), "name"=>"Lolita Treutel"}] flags=[]
413654
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3793ms
413655
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms
413656
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123b0000'), "name"=>"Johnathon Emmerich"}] flags=[]
413657
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2552ms
413658
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1623ms
413659
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123c0000'), "name"=>"Dana Waters"}] flags=[]
413660
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2121ms
413661
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1516ms
413662
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123d0000'), "name"=>"Reilly Buckridge"}] flags=[]
413663
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms
413664
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms
413665
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123e0000'), "name"=>"Dr. Jazlyn Wehner"}] flags=[]
413666
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2052ms
413667
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1494ms
413668
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b123f0000'), "name"=>"Johan Reichert"}] flags=[]
413669
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2106ms
413670
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b123f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1347ms
413671
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12400000'), "name"=>"Herminia McCullough"}] flags=[]
413672
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2053ms
413673
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1491ms
413674
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12410000'), "name"=>"Layla Schaden"}] flags=[]
413675
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2065ms
413676
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1476ms
413677
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12420000'), "name"=>"Torrance Dare"}] flags=[]
413678
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1905ms
413679
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1511ms
413680
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12430000'), "name"=>"Darien Volkman"}] flags=[]
413681
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2059ms
413682
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1433ms
413683
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12440000'), "name"=>"Nelson Langosh"}] flags=[]
413684
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms
413685
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1243ms
413686
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12450000'), "name"=>"Jada Grady"}] flags=[]
413687
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1721ms
413688
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1262ms
413689
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12460000'), "name"=>"Ms. Koby Gottlieb"}] flags=[]
413690
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1657ms
413691
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1217ms
413692
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12470000'), "name"=>"Alberto Bailey Jr."}] flags=[]
413693
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1623ms
413694
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1386ms
413695
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12480000'), "name"=>"Chandler Hermiston"}] flags=[]
413696
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1907ms
413697
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms
413698
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12490000'), "name"=>"Ms. Lloyd Shanahan"}] flags=[]
413699
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1677ms
413700
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1408ms
413701
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124a0000'), "name"=>"Norbert Kihn"}] flags=[]
413702
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1908ms
413703
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1263ms
413704
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124b0000'), "name"=>"Benedict Kunze"}] flags=[]
413705
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1950ms
413706
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms
413707
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124c0000'), "name"=>"Domenico Nikolaus"}] flags=[]
413708
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1984ms
413709
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms
413710
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124d0000'), "name"=>"Cleveland Boehm"}] flags=[]
413711
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1910ms
413712
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms
413713
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124e0000'), "name"=>"Wayne Beatty"}] flags=[]
413714
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1915ms
413715
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms
413716
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b124f0000'), "name"=>"Isaias Schoen"}] flags=[]
413717
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms
413718
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b124f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1405ms
413719
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12500000'), "name"=>"Vincenza Koch Jr."}] flags=[]
413720
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1913ms
413721
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1391ms
413722
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12510000'), "name"=>"Rosemary Stracke"}] flags=[]
413723
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1665ms
413724
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1006ms
413725
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12520000'), "name"=>"Adelbert O'Kon"}] flags=[]
413726
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1896ms
413727
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1264ms
413728
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12530000'), "name"=>"Duane Harvey III"}] flags=[]
413729
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1963ms
413730
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1342ms
413731
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12540000'), "name"=>"Molly Rohan"}] flags=[]
413732
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1898ms
413733
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1390ms
413734
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12550000'), "name"=>"Santino Jacobson I"}] flags=[]
413735
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1948ms
413736
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1403ms
413737
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12560000'), "name"=>"Ms. Vivianne Jakubowski"}] flags=[]
413738
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1914ms
413739
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1392ms
413740
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12570000'), "name"=>"Conor Okuneva MD"}] flags=[]
413741
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1911ms
413742
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1388ms
413743
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12580000'), "name"=>"Alessandra Roberts III"}] flags=[]
413744
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms
413745
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms
413746
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12590000'), "name"=>"Miss Meda Rutherford"}] flags=[]
413747
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1944ms
413748
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1382ms
413749
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125a0000'), "name"=>"Bernice Bogan"}] flags=[]
413750
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1888ms
413751
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1381ms
413752
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125b0000'), "name"=>"Abbey Mayert"}] flags=[]
413753
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1917ms
413754
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1377ms
413755
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125c0000'), "name"=>"Andreane Huel"}] flags=[]
413756
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1641ms
413757
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1025ms
413758
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125d0000'), "name"=>"Carli Roberts DDS"}] flags=[]
413759
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1672ms
413760
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1420ms
413761
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125e0000'), "name"=>"Dr. Raegan Schamberger"}] flags=[]
413762
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1508ms
413763
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1331ms
413764
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b125f0000'), "name"=>"Katelynn Balistreri"}] flags=[]
413765
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2019ms
413766
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b125f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1436ms
413767
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12600000'), "name"=>"Mrs. Madyson Green"}] flags=[]
413768
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1961ms
413769
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1380ms
413770
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12610000'), "name"=>"Russell Adams"}] flags=[]
413771
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1943ms
413772
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1450ms
413773
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12620000'), "name"=>"Sigrid Huels PhD"}] flags=[]
413774
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1902ms
413775
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms
413776
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12630000'), "name"=>"Deon Little IV"}] flags=[]
413777
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.1960ms
413778
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1385ms
413779
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12640000'), "name"=>"Raina Spinka MD"}] flags=[]
413780
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.7209ms
413781
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1992ms
413782
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12650000'), "name"=>"Reid Cassin DVM"}] flags=[]
413783
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3209ms
413784
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2308ms
413785
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12660000'), "name"=>"Aron Funk"}] flags=[]
413786
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2910ms
413787
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2201ms
413788
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12670000'), "name"=>"Amari Hyatt"}] flags=[]
413789
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2949ms
413790
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms
413791
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12680000'), "name"=>"Devon Schumm"}] flags=[]
413792
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
413793
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2269ms
413794
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12690000'), "name"=>"Ms. Kaitlin Gulgowski"}] flags=[]
413795
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2870ms
413796
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms
413797
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126a0000'), "name"=>"Brady Boyle"}] flags=[]
413798
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2953ms
413799
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1967ms
413800
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126b0000'), "name"=>"Genoveva Durgan"}] flags=[]
413801
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2512ms
413802
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1951ms
413803
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126c0000'), "name"=>"Muhammad Larson"}] flags=[]
413804
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3702ms
413805
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2013ms
413806
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126d0000'), "name"=>"Alvah Torphy Sr."}] flags=[]
413807
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3823ms
413808
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms
413809
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126e0000'), "name"=>"Mustafa Langosh DVM"}] flags=[]
413810
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2632ms
413811
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms
413812
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b126f0000'), "name"=>"Ms. Kallie Kihn"}] flags=[]
413813
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
413814
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b126f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1890ms
413815
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12700000'), "name"=>"Nicola Durgan"}] flags=[]
413816
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2462ms
413817
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1835ms
413818
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12710000'), "name"=>"Izaiah O'Keefe"}] flags=[]
413819
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2297ms
413820
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1607ms
413821
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12720000'), "name"=>"Rhianna Hoppe"}] flags=[]
413822
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2454ms
413823
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2146ms
413824
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12730000'), "name"=>"Ryann Tremblay"}] flags=[]
413825
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3055ms
413826
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2248ms
413827
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12740000'), "name"=>"Aiden Lehner"}] flags=[]
413828
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3000ms
413829
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2203ms
413830
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12750000'), "name"=>"Casper Bernier Jr."}] flags=[]
413831
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2947ms
413832
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2364ms
413833
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12760000'), "name"=>"Giovanny Hermiston Sr."}] flags=[]
413834
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2946ms
413835
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2199ms
413836
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12770000'), "name"=>"Sim Anderson"}] flags=[]
413837
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2913ms
413838
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2187ms
413839
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12780000'), "name"=>"Loma Larkin"}] flags=[]
413840
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
413841
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2205ms
413842
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12790000'), "name"=>"Devan Crist"}] flags=[]
413843
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2925ms
413844
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2200ms
413845
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127a0000'), "name"=>"Michele Hamill"}] flags=[]
413846
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2923ms
413847
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms
413848
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127b0000'), "name"=>"Etha Pollich"}] flags=[]
413849
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2997ms
413850
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms
413851
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127c0000'), "name"=>"Kristian Rice"}] flags=[]
413852
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2898ms
413853
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2195ms
413854
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127d0000'), "name"=>"Matteo Monahan IV"}] flags=[]
413855
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2942ms
413856
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms
413857
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127e0000'), "name"=>"Dr. Bernhard Grady"}] flags=[]
413858
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2878ms
413859
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2211ms
413860
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b127f0000'), "name"=>"Issac Schaefer"}] flags=[]
413861
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2847ms
413862
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b127f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2209ms
413863
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12800000'), "name"=>"Roberta Kulas"}] flags=[]
413864
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2920ms
413865
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2253ms
413866
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12810000'), "name"=>"Miss Rolando Altenwerth"}] flags=[]
413867
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2912ms
413868
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2270ms
413869
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12820000'), "name"=>"Barton Mayert Sr."}] flags=[]
413870
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
413871
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2262ms
413872
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12830000'), "name"=>"Marlee Bode"}] flags=[]
413873
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3021ms
413874
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2273ms
413875
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12840000'), "name"=>"Cristobal Hickle IV"}] flags=[]
413876
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2880ms
413877
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms
413878
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12850000'), "name"=>"Carson McLaughlin"}] flags=[]
413879
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms
413880
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2234ms
413881
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12860000'), "name"=>"Carrie Wolff"}] flags=[]
413882
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms
413883
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2236ms
413884
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12870000'), "name"=>"Miss Titus Gutmann"}] flags=[]
413885
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2872ms
413886
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2387ms
413887
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12880000'), "name"=>"Miss Reinhold Lueilwitz"}] flags=[]
413888
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2874ms
413889
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2396ms
413890
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12890000'), "name"=>"Pearlie Frami Sr."}] flags=[]
413891
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2855ms
413892
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2233ms
413893
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128a0000'), "name"=>"Elton Hills"}] flags=[]
413894
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2916ms
413895
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2278ms
413896
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128b0000'), "name"=>"Isac Wuckert PhD"}] flags=[]
413897
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2884ms
413898
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2260ms
413899
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128c0000'), "name"=>"Miss Mae Lang"}] flags=[]
413900
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2903ms
413901
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
413902
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128d0000'), "name"=>"Mrs. Tyrique Hoppe"}] flags=[]
413903
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2894ms
413904
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2276ms
413905
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128e0000'), "name"=>"Jeanette Berge DVM"}] flags=[]
413906
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
413907
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
413908
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b128f0000'), "name"=>"Alexandrine Bailey III"}] flags=[]
413909
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2871ms
413910
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b128f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2395ms
413911
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12900000'), "name"=>"Eldora Kohler"}] flags=[]
413912
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2849ms
413913
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2400ms
413914
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12910000'), "name"=>"Mozell Kulas"}] flags=[]
413915
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2904ms
413916
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2444ms
413917
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12920000'), "name"=>"Sydney Jacobson"}] flags=[]
413918
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2869ms
413919
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2389ms
413920
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12930000'), "name"=>"Katlyn Welch II"}] flags=[]
413921
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
413922
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2368ms
413923
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12940000'), "name"=>"Maudie Padberg"}] flags=[]
413924
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
413925
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2388ms
413926
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12950000'), "name"=>"Ludwig Runolfsdottir"}] flags=[]
413927
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
413928
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2373ms
413929
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12960000'), "name"=>"Malika Cummerata"}] flags=[]
413930
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
413931
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2382ms
413932
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12970000'), "name"=>"Rupert Kemmer"}] flags=[]
413933
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2893ms
413934
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2465ms
413935
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2369ms
413936
+ Processing by CategoriesController#create as HTML
413937
+ Parameters: {"category"=>{"name"=>"Hello"}}
413938
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12980000'), "name"=>"Hello"}] flags=[]
413939
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5268ms
413940
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2084ms
413941
+ Redirected to http://test.host/categories/54b9579e7735330b12980000
413942
+ Completed 302 Found in 4ms
413943
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3088ms
413944
+ ---------------------------------------------
413945
+ CategoriesControllerTest: test_should_destroy
413946
+ ---------------------------------------------
413947
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12990000'), "name"=>"Mrs. Ramona Thiel"}] flags=[]
413948
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0282ms
413949
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3581ms
413950
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3273ms
413951
+ Processing by CategoriesController#destroy as HTML
413952
+ Parameters: {"id"=>"54b9579e7735330b12990000"}
413953
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b12990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3724ms
413954
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b12990000')} flags=[:remove_first]
413955
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4028ms
413956
+ Redirected to http://test.host/categories
413957
+ Completed 302 Found in 3ms
413958
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2918ms
413959
+ ----------------------------------------------
413960
+ CategoriesControllerTest: test_should_get_edit
413961
+ ----------------------------------------------
413962
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b129a0000'), "name"=>"Dangelo Stamm"}] flags=[]
413963
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3988ms
413964
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3252ms
413965
+ Processing by CategoriesController#edit as HTML
413966
+ Parameters: {"id"=>"54b9579e7735330b129a0000"}
413967
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3548ms
413968
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4330ms
413969
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (6.1ms)
413970
+ Completed 200 OK in 11ms (Views: 9.9ms)
413971
+ -----------------------------------------------
413972
+ CategoriesControllerTest: test_should_get_index
413973
+ -----------------------------------------------
413974
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b129b0000'), "name"=>"Modesta Runolfsson"}] flags=[]
413975
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5565ms
413976
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3327ms
413977
+ Processing by CategoriesController#index as HTML
413978
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5639ms
413979
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[404933248004] runtime: 0.0940ms
413980
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3078ms
413981
+ Completed 200 OK in 17ms (Views: 16.7ms)
413982
+ -----------------------------------------------------
413983
+ CategoriesControllerTest: test_should_get_index_pages
413984
+ -----------------------------------------------------
413985
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b129c0000'), "name"=>"Brock Mante"}] flags=[]
413986
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
413987
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2191ms
413988
+ Processing by CategoriesController#index as HTML
413989
+ Parameters: {"offset"=>"10", "limit"=>"10"}
413990
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3610ms
413991
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[404233053873] runtime: 0.0811ms
413992
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.3003ms
413993
+ Completed 200 OK in 10ms (Views: 8.9ms)
413994
+ ---------------------------------------------
413995
+ CategoriesControllerTest: test_should_get_new
413996
+ ---------------------------------------------
413997
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b129d0000'), "name"=>"Dr. Eda Wiza"}] flags=[]
413998
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3031ms
413999
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1974ms
414000
+ Processing by CategoriesController#new as HTML
414001
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3099ms
414002
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.3ms)
414003
+ Completed 200 OK in 7ms (Views: 6.2ms)
414004
+ ----------------------------------------------
414005
+ CategoriesControllerTest: test_should_get_show
414006
+ ----------------------------------------------
414007
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b129f0000'), "name"=>"Sadie Reichel"}] flags=[]
414008
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3748ms
414009
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1915ms
414010
+ Processing by CategoriesController#show as HTML
414011
+ Parameters: {"id"=>"54b9579e7735330b129f0000"}
414012
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2670ms
414013
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b129f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2572ms
414014
+ Completed 200 OK in 4ms (Views: 3.2ms)
414015
+ --------------------------------------------
414016
+ CategoriesControllerTest: test_should_update
414017
+ --------------------------------------------
414018
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12a00000'), "name"=>"Beatrice Kreiger Sr."}] flags=[]
414019
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3505ms
414020
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1873ms
414021
+ Processing by CategoriesController#update as HTML
414022
+ Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54b9579e7735330b12a00000"}
414023
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2632ms
414024
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a00000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
414025
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3443ms
414026
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b9579e7735330b12a00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1823ms
414027
+ Redirected to http://test.host/categories/54b9579e7735330b12a00000
414028
+ Completed 302 Found in 4ms
414029
+ ------------------------------------------
414030
+ CommentsControllerTest: test_should_create
414031
+ ------------------------------------------
414032
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12a10000'), "name"=>"Jody Franecki PhD", "reference"=>"Tabitha Schneider", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12a20000'), "author_name"=>"Mr. Geoffrey Beatty", "content"=>["Ut aut consequatur molestiae odit maxime. Ratione non id quis et nemo. Et in aliquid quo nostrum. Sint reprehenderit quas aperiam maxime magnam tempore. Exercitationem amet id itaque enim."]}]}] flags=[]
414033
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4547ms
414034
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2263ms
414035
+ Processing by CommentsController#create as HTML
414036
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9579e7735330b12a10000"}
414037
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2979ms
414038
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12a30000'), "author_name"=>"Hello"}}} flags=[]
414039
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3223ms
414040
+ Redirected to http://test.host/products/54b9579e7735330b12a10000/comments/54b9579e7735330b12a30000
414041
+ Completed 302 Found in 4ms
414042
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms
414043
+ -------------------------------------------
414044
+ CommentsControllerTest: test_should_destroy
414045
+ -------------------------------------------
414046
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12a40000'), "name"=>"Angel Hayes", "reference"=>"Allen Daniel", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12a50000'), "author_name"=>"Skye Schaden", "content"=>["Voluptatem voluptatibus officia. Nostrum alias facere quibusdam voluptatem. Voluptatem natus et. Aut est itaque illum voluptatem at nam."]}]}] flags=[]
414047
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3711ms
414048
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2235ms
414049
+ Processing by CommentsController#destroy as HTML
414050
+ Parameters: {"product_id"=>"54b9579e7735330b12a40000", "id"=>"54b9579e7735330b12a50000"}
414051
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2761ms
414052
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12a50000')}}} flags=[]
414053
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2986ms
414054
+ Redirected to http://test.host/products/54b9579e7735330b12a40000/comments
414055
+ Completed 302 Found in 3ms
414056
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1840ms
414057
+ --------------------------------------------
414058
+ CommentsControllerTest: test_should_get_edit
414059
+ --------------------------------------------
414060
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12a60000'), "name"=>"Abby Lakin", "reference"=>"Jerry Kling", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12a70000'), "author_name"=>"Alysha Willms III", "content"=>["Dolores quasi voluptatum. Sapiente officiis eveniet eligendi enim. Eum sit amet et."]}]}] flags=[]
414061
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3415ms
414062
+ Processing by CommentsController#edit as HTML
414063
+ Parameters: {"product_id"=>"54b9579e7735330b12a60000", "id"=>"54b9579e7735330b12a70000"}
414064
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2730ms
414065
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms)
414066
+ Completed 200 OK in 7ms (Views: 5.3ms)
414067
+ ---------------------------------------------
414068
+ CommentsControllerTest: test_should_get_index
414069
+ ---------------------------------------------
414070
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12a80000'), "name"=>"Tyrese Ullrich", "reference"=>"Emory Kiehn", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12a90000'), "author_name"=>"Ms. Amani Reinger", "content"=>["Cupiditate ea voluptatem qui quisquam excepturi fuga. Eos rerum pariatur. Qui aliquam voluptates ut est quasi voluptas totam. Aut mollitia qui ab ex."]}]}] flags=[]
414071
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4239ms
414072
+ Processing by CommentsController#index as HTML
414073
+ Parameters: {"product_id"=>"54b9579e7735330b12a80000"}
414074
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12a80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms
414075
+ Completed 200 OK in 5ms (Views: 2.9ms)
414076
+ --------------------------------------------------
414077
+ CommentsControllerTest: test_should_get_json_index
414078
+ --------------------------------------------------
414079
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12aa0000'), "name"=>"Idella Keebler", "reference"=>"Willis Cummings", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12ab0000'), "author_name"=>"Marley Wunsch", "content"=>["Voluptates id ex voluptatum dolores suscipit. Et aut illo. Quam eaque corrupti omnis quo aut ullam."]}]}] flags=[]
414080
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4744ms
414081
+ Processing by CommentsController#index as JSON
414082
+ Parameters: {"product_id"=>"54b9579e7735330b12aa0000"}
414083
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12aa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3324ms
414084
+ Completed 200 OK in 2ms (Views: 0.2ms)
414085
+ -------------------------------------------------
414086
+ CommentsControllerTest: test_should_get_json_show
414087
+ -------------------------------------------------
414088
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12ac0000'), "name"=>"Maye Predovic", "reference"=>"Miss Casimir Volkman", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12ad0000'), "author_name"=>"Reyna Jenkins", "content"=>["Dolor modi natus assumenda dolorum velit. Alias voluptatum aliquid perspiciatis omnis harum quidem. Nam aliquam repellat impedit aut consequatur minus nesciunt."]}]}] flags=[]
414089
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3982ms
414090
+ Processing by CommentsController#show as JSON
414091
+ Parameters: {"product_id"=>"54b9579e7735330b12ac0000", "id"=>"54b9579e7735330b12ad0000"}
414092
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12ac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3289ms
414093
+ Completed 200 OK in 2ms (Views: 0.2ms)
414094
+ -------------------------------------------
414095
+ CommentsControllerTest: test_should_get_new
414096
+ -------------------------------------------
414097
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12ae0000'), "name"=>"Alba Watsica", "reference"=>"Mr. Jackie Heidenreich", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12af0000'), "author_name"=>"Price Herman", "content"=>["Amet nobis aut et beatae itaque doloribus. Distinctio saepe nihil consectetur aut. Dolorem nostrum eum unde. Incidunt laboriosam perferendis quis quibusdam et temporibus. Debitis vel quam sit aspernatur voluptatem minima rerum."]}]}] flags=[]
414098
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3891ms
414099
+ Processing by CommentsController#new as HTML
414100
+ Parameters: {"product_id"=>"54b9579e7735330b12ae0000"}
414101
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12ae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3162ms
414102
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
414103
+ Completed 200 OK in 5ms (Views: 3.5ms)
414104
+ --------------------------------------------
414105
+ CommentsControllerTest: test_should_get_show
414106
+ --------------------------------------------
414107
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b00000'), "name"=>"Lauren Langosh Jr.", "reference"=>"Dr. Gunnar O'Keefe", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12b10000'), "author_name"=>"Justus Cronin III", "content"=>["Rerum vel fugiat blanditiis pariatur cumque provident qui. Qui dicta expedita enim maiores iste nihil. Quo illum vel. Dolorem alias itaque exercitationem voluptate laborum cum amet."]}]}] flags=[]
414108
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4326ms
414109
+ Processing by CommentsController#show as HTML
414110
+ Parameters: {"product_id"=>"54b9579e7735330b12b00000", "id"=>"54b9579e7735330b12b10000"}
414111
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2957ms
414112
+ Completed 200 OK in 4ms (Views: 2.5ms)
414113
+ ------------------------------------------
414114
+ CommentsControllerTest: test_should_update
414115
+ ------------------------------------------
414116
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b20000'), "name"=>"Adrain Daugherty", "reference"=>"Ms. Pattie Koelpin", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9579e7735330b12b30000'), "author_name"=>"Christopher Goyette", "content"=>["Adipisci illum aut. Libero aut vel. Et suscipit est. Molestiae aperiam sed. Consequatur earum sapiente fugit temporibus non sit quos."]}]}] flags=[]
414117
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4211ms
414118
+ Processing by CommentsController#update as HTML
414119
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9579e7735330b12b30000", "product_id"=>"54b9579e7735330b12b20000"}
414120
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2875ms
414121
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b20000'), "comments._id"=>BSON::ObjectId('54b9579e7735330b12b30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
414122
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4181ms
414123
+ Redirected to http://test.host/products/54b9579e7735330b12b20000/comments/54b9579e7735330b12b30000
414124
+ Completed 302 Found in 5ms
414125
+ -----------------------------------------------------
414126
+ Iord::GenericControllerTest: test_admin_should_create
414127
+ -----------------------------------------------------
414128
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b40000'), "firstname"=>"Jaclyn", "lastname"=>"Carroll"}] flags=[]
414129
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4472ms
414130
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1622ms
414131
+ Processing by Iord::GenericController#create as HTML
414132
+ Parameters: {"client"=>{"firstname"=>"Hello"}}
414133
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b50000'), "firstname"=>"Hello"}] flags=[]
414134
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3205ms
414135
+ Redirected to http://test.host/admin/clients/54b9579e7735330b12b50000
414136
+ Completed 302 Found in 2ms
414137
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1752ms
414138
+ ------------------------------------------------------
414139
+ Iord::GenericControllerTest: test_admin_should_destroy
414140
+ ------------------------------------------------------
414141
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b60000'), "firstname"=>"Adrianna", "lastname"=>"Lynch"}] flags=[]
414142
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
414143
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1800ms
414144
+ Processing by Iord::GenericController#destroy as HTML
414145
+ Parameters: {"id"=>"54b9579e7735330b12b60000"}
414146
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
414147
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b60000')} flags=[:remove_first]
414148
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2586ms
414149
+ Redirected to http://test.host/admin/clients
414150
+ Completed 302 Found in 2ms
414151
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1660ms
414152
+ -------------------------------------------------------
414153
+ Iord::GenericControllerTest: test_admin_should_get_edit
414154
+ -------------------------------------------------------
414155
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b70000'), "firstname"=>"Felicia", "lastname"=>"Simonis"}] flags=[]
414156
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2731ms
414157
+ Processing by Iord::GenericController#edit as HTML
414158
+ Parameters: {"id"=>"54b9579e7735330b12b70000"}
414159
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12b70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2539ms
414160
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms)
414161
+ Completed 200 OK in 7ms (Views: 6.2ms)
414162
+ --------------------------------------------------------
414163
+ Iord::GenericControllerTest: test_admin_should_get_index
414164
+ --------------------------------------------------------
414165
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b80000'), "firstname"=>"Kurt", "lastname"=>"Lowe"}] flags=[]
414166
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3900ms
414167
+ Processing by Iord::GenericController#index as HTML
414168
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3211ms
414169
+ Completed 200 OK in 6ms (Views: 4.9ms)
414170
+ ------------------------------------------------------
414171
+ Iord::GenericControllerTest: test_admin_should_get_new
414172
+ ------------------------------------------------------
414173
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12b90000'), "firstname"=>"Mollie", "lastname"=>"Feil"}] flags=[]
414174
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4178ms
414175
+ Processing by Iord::GenericController#new as HTML
414176
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms)
414177
+ Completed 200 OK in 5ms (Views: 4.1ms)
414178
+ -------------------------------------------------------
414179
+ Iord::GenericControllerTest: test_admin_should_get_show
414180
+ -------------------------------------------------------
414181
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12ba0000'), "firstname"=>"Taylor", "lastname"=>"Kohler"}] flags=[]
414182
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4003ms
414183
+ Processing by Iord::GenericController#show as HTML
414184
+ Parameters: {"id"=>"54b9579e7735330b12ba0000"}
414185
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12ba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2580ms
414186
+ Completed 200 OK in 4ms (Views: 2.8ms)
414187
+ -----------------------------------------------------
414188
+ Iord::GenericControllerTest: test_admin_should_update
414189
+ -----------------------------------------------------
414190
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12bb0000'), "firstname"=>"Nick", "lastname"=>"Dickinson"}] flags=[]
414191
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3646ms
414192
+ Processing by Iord::GenericController#update as HTML
414193
+ Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9579e7735330b12bb0000"}
414194
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12bb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2606ms
414195
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12bb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
414196
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3052ms
414197
+ Redirected to http://test.host/admin/clients/54b9579e7735330b12bb0000
414198
+ Completed 302 Found in 3ms
414199
+ -----------------------------------------------
414200
+ Iord::GenericControllerTest: test_should_create
414201
+ -----------------------------------------------
414202
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12bc0000'), "firstname"=>"Consuelo", "lastname"=>"Marquardt"}] flags=[]
414203
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2775ms
414204
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1846ms
414205
+ Processing by Iord::GenericController#create as HTML
414206
+ Parameters: {"client"=>{"firstname"=>"Hello"}}
414207
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12bd0000'), "firstname"=>"Hello"}] flags=[]
414208
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.4469ms
414209
+ Redirected to http://test.host/clients/54b9579e7735330b12bd0000
414210
+ Completed 302 Found in 8ms
414211
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3010ms
414212
+ ------------------------------------------------
414213
+ Iord::GenericControllerTest: test_should_destroy
414214
+ ------------------------------------------------
414215
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12be0000'), "firstname"=>"Trey", "lastname"=>"Littel"}] flags=[]
414216
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3544ms
414217
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2674ms
414218
+ Processing by Iord::GenericController#destroy as HTML
414219
+ Parameters: {"id"=>"54b9579e7735330b12be0000"}
414220
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12be0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
414221
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12be0000')} flags=[:remove_first]
414222
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2960ms
414223
+ Redirected to http://test.host/clients
414224
+ Completed 302 Found in 3ms
414225
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.3374ms
414226
+ -------------------------------------------------
414227
+ Iord::GenericControllerTest: test_should_get_edit
414228
+ -------------------------------------------------
414229
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12bf0000'), "firstname"=>"Art", "lastname"=>"Kling"}] flags=[]
414230
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3951ms
414231
+ Processing by Iord::GenericController#edit as HTML
414232
+ Parameters: {"id"=>"54b9579e7735330b12bf0000"}
414233
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12bf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3885ms
414234
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.0ms)
414235
+ Completed 200 OK in 6ms (Views: 4.3ms)
414236
+ --------------------------------------------------
414237
+ Iord::GenericControllerTest: test_should_get_index
414238
+ --------------------------------------------------
414239
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c00000'), "firstname"=>"Glenna", "lastname"=>"Ward"}] flags=[]
414240
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
414241
+ Processing by Iord::GenericController#index as HTML
414242
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4403ms
414243
+ Completed 200 OK in 9ms (Views: 8.2ms)
414244
+ ------------------------------------------------
414245
+ Iord::GenericControllerTest: test_should_get_new
414246
+ ------------------------------------------------
414247
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c10000'), "firstname"=>"Brian", "lastname"=>"Ledner"}] flags=[]
414248
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4423ms
414249
+ Processing by Iord::GenericController#new as HTML
414250
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
414251
+ Completed 200 OK in 4ms (Views: 3.5ms)
414252
+ -------------------------------------------------
414253
+ Iord::GenericControllerTest: test_should_get_show
414254
+ -------------------------------------------------
414255
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c20000'), "firstname"=>"Samson", "lastname"=>"Stracke"}] flags=[]
414256
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms
414257
+ Processing by Iord::GenericController#show as HTML
414258
+ Parameters: {"id"=>"54b9579e7735330b12c20000"}
414259
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3215ms
414260
+ Completed 200 OK in 3ms (Views: 2.0ms)
414261
+ -----------------------------------------------
414262
+ Iord::GenericControllerTest: test_should_update
414263
+ -----------------------------------------------
414264
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c30000'), "firstname"=>"Derick", "lastname"=>"Hickle"}] flags=[]
414265
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2672ms
414266
+ Processing by Iord::GenericController#update as HTML
414267
+ Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b9579e7735330b12c30000"}
414268
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3165ms
414269
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
414270
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3638ms
414271
+ Redirected to http://test.host/clients/54b9579e7735330b12c30000
414272
+ Completed 302 Found in 3ms
414273
+ --------------------
414274
+ IordTest: test_truth
414275
+ --------------------
414276
+ ------------------------------------------
414277
+ ManagersControllerTest: test_should_create
414278
+ ------------------------------------------
414279
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c40000'), "name"=>"Maritza Dietrich", "reference"=>"Mrs. Titus Gibson", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12c50000'), "firstname"=>"Matteo", "lastname"=>"Stiedemann"}}] flags=[]
414280
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3838ms
414281
+ Processing by ManagersController#create as HTML
414282
+ Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b9579e7735330b12c40000"}
414283
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2739ms
414284
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c40000')} update={"$unset"=>{"manager"=>true}} flags=[]
414285
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
414286
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12c60000'), "firstname"=>"Hello"}}} flags=[]
414287
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2542ms
414288
+ Redirected to http://test.host/products/54b9579e7735330b12c40000/manager
414289
+ Completed 302 Found in 4ms
414290
+ --------------------------------------------
414291
+ ManagersControllerTest: test_should_get_edit
414292
+ --------------------------------------------
414293
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c70000'), "name"=>"Beau Ruecker", "reference"=>"Helen Lind", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12c80000'), "firstname"=>"Edgar", "lastname"=>"Hayes"}}] flags=[]
414294
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3570ms
414295
+ Processing by ManagersController#edit as HTML
414296
+ Parameters: {"id"=>"54b9579e7735330b12c80000", "product_id"=>"54b9579e7735330b12c70000"}
414297
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2679ms
414298
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms)
414299
+ Completed 200 OK in 7ms (Views: 5.4ms)
414300
+ -------------------------------------------
414301
+ ManagersControllerTest: test_should_get_new
414302
+ -------------------------------------------
414303
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12c90000'), "name"=>"Kory O'Reilly", "reference"=>"Ali Windler II", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12ca0000'), "firstname"=>"Larry", "lastname"=>"Green"}}] flags=[]
414304
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3939ms
414305
+ Processing by ManagersController#new as HTML
414306
+ Parameters: {"product_id"=>"54b9579e7735330b12c90000"}
414307
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12c90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2641ms
414308
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms)
414309
+ Completed 200 OK in 5ms (Views: 3.7ms)
414310
+ --------------------------------------------
414311
+ ManagersControllerTest: test_should_get_show
414312
+ --------------------------------------------
414313
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12cb0000'), "name"=>"Timmothy Wilkinson", "reference"=>"Zelma Ziemann", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12cc0000'), "firstname"=>"Damion", "lastname"=>"Turcotte"}}] flags=[]
414314
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4012ms
414315
+ Processing by ManagersController#show as HTML
414316
+ Parameters: {"id"=>"54b9579e7735330b12cc0000", "product_id"=>"54b9579e7735330b12cb0000"}
414317
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12cb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2608ms
414318
+ Completed 200 OK in 4ms (Views: 2.4ms)
414319
+ ------------------------------------------
414320
+ ManagersControllerTest: test_should_update
414321
+ ------------------------------------------
414322
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12cd0000'), "name"=>"Joy O'Keefe", "reference"=>"Christop Collier", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b9579e7735330b12ce0000'), "firstname"=>"Shayna", "lastname"=>"Farrell"}}] flags=[]
414323
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4570ms
414324
+ Processing by ManagersController#update as HTML
414325
+ Parameters: {"id"=>"54b9579e7735330b12ce0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b9579e7735330b12cd0000"}
414326
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12cd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2785ms
414327
+ Unpermitted parameters: name
414328
+ Redirected to http://test.host/products/54b9579e7735330b12cd0000/manager
414329
+ Completed 302 Found in 3ms
414330
+ ------------------------------------------
414331
+ ProductsControllerTest: test_should_create
414332
+ ------------------------------------------
414333
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12cf0000'), "name"=>"Marcelina Kshlerin", "reference"=>"Dejon Stamm", "quantity"=>8}] flags=[]
414334
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5145ms
414335
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d00000'), "name"=>"Jordon Turner IV", "reference"=>"Estefania Herzog", "quantity"=>5}] flags=[]
414336
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2684ms
414337
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d10000'), "name"=>"Maxime Bosco PhD", "reference"=>"Anissa Willms", "quantity"=>2}] flags=[]
414338
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2729ms
414339
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d20000'), "name"=>"Mrs. Jewel Von", "reference"=>"Sven Feeney", "quantity"=>2}] flags=[]
414340
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
414341
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d30000'), "name"=>"Mr. Johnathan Lemke", "reference"=>"Noe Bernier", "quantity"=>7}] flags=[]
414342
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2814ms
414343
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d40000'), "name"=>"Teresa Towne", "reference"=>"Chaim Goodwin", "quantity"=>5}] flags=[]
414344
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2660ms
414345
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms
414346
+ Processing by ProductsController#create as HTML
414347
+ Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}}
414348
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d50000'), "name"=>"Hello", "quantity"=>10}] flags=[]
414349
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4430ms
414350
+ Redirected to http://test.host/products/54b9579e7735330b12d50000
414351
+ Completed 302 Found in 3ms
414352
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2525ms
414353
+ -------------------------------------------
414354
+ ProductsControllerTest: test_should_destroy
414355
+ -------------------------------------------
414356
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d60000'), "name"=>"Mrs. Gaston Morissette", "reference"=>"Desmond Rutherford", "quantity"=>2}] flags=[]
414357
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4086ms
414358
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2259ms
414359
+ Processing by ProductsController#destroy as HTML
414360
+ Parameters: {"id"=>"54b9579e7735330b12d60000"}
414361
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12d60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
414362
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12d60000')} flags=[:remove_first]
414363
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3239ms
414364
+ Redirected to http://test.host/products
414365
+ Completed 302 Found in 3ms
414366
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2439ms
414367
+ --------------------------------------------
414368
+ ProductsControllerTest: test_should_get_edit
414369
+ --------------------------------------------
414370
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d70000'), "name"=>"Judah Nikolaus II", "reference"=>"Mrs. Lorena Gulgowski", "quantity"=>1}] flags=[]
414371
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3362ms
414372
+ Processing by ProductsController#edit as HTML
414373
+ Parameters: {"id"=>"54b9579e7735330b12d70000"}
414374
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579e7735330b12d70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3338ms
414375
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.3ms)
414376
+ Completed 200 OK in 8ms (Views: 6.4ms)
414377
+ ---------------------------------------------
414378
+ ProductsControllerTest: test_should_get_index
414379
+ ---------------------------------------------
414380
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d80000'), "name"=>"Hayley Tremblay", "reference"=>"Dr. Daisy Zulauf", "quantity"=>3}] flags=[]
414381
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6059ms
414382
+ Processing by ProductsController#index as HTML
414383
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7828ms
414384
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378130707880] runtime: 0.1106ms
414385
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.4078ms
414386
+ Completed 200 OK in 18ms (Views: 17.9ms)
414387
+ ----------------------------------------------------
414388
+ ProductsControllerTest: test_should_get_index_search
414389
+ ----------------------------------------------------
414390
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12d90000'), "name"=>"Gideon Abshire", "reference"=>"Mr. Pablo Bradtke", "quantity"=>4}] flags=[]
414391
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
414392
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12da0000'), "name"=>"HelloWorld", "reference"=>"Robin Nikolaus", "quantity"=>0}] flags=[]
414393
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4698ms
414394
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579e7735330b12db0000'), "name"=>"value", "reference"=>"Omer Koss", "quantity"=>4}] flags=[]
414395
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5644ms
414396
+ Processing by ProductsController#index as HTML
414397
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
414398
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5456ms
414399
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3889ms
414400
+ Completed 200 OK in 10ms (Views: 8.9ms)
414401
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3768ms
414402
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3085ms
414403
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2450ms
414404
+ Processing by ProductsController#index as HTML
414405
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
414406
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3004ms
414407
+ Completed 200 OK in 4ms (Views: 3.9ms)
414408
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2501ms
414409
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2224ms
414410
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms
414411
+ Processing by ProductsController#index as HTML
414412
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
414413
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.2558ms
414414
+ Completed 200 OK in 4ms (Views: 3.7ms)
414415
+ ----------------------------------------------------
414416
+ ProductsControllerTest: test_should_get_index_sorted
414417
+ ----------------------------------------------------
414418
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12dc0000'), "name"=>"Rosalyn Weber", "reference"=>"Brooklyn Jacobs Sr.", "quantity"=>8}] flags=[]
414419
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3187ms
414420
+ Processing by ProductsController#index as HTML
414421
+ Parameters: {"order_by"=>"quantity"}
414422
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7270ms
414423
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378872687035] runtime: 0.0888ms
414424
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2105ms
414425
+ Completed 200 OK in 17ms (Views: 16.4ms)
414426
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1743ms
414427
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5632ms
414428
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377986418065] runtime: 0.0489ms
414429
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5693ms
414430
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380030541527] runtime: 0.0492ms
414431
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5781ms
414432
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379226935800] runtime: 0.0626ms
414433
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5447ms
414434
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378256340615] runtime: 0.0514ms
414435
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5291ms
414436
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378355559073] runtime: 0.0505ms
414437
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6144ms
414438
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378981166567] runtime: 0.0564ms
414439
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6363ms
414440
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378093214639] runtime: 0.0880ms
414441
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7419ms
414442
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379228091813] runtime: 0.0831ms
414443
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7464ms
414444
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379546842334] runtime: 0.0870ms
414445
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7224ms
414446
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378743016564] runtime: 0.0884ms
414447
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7395ms
414448
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378996976610] runtime: 0.0847ms
414449
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7941ms
414450
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380068355493] runtime: 0.0951ms
414451
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7988ms
414452
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378676867333] runtime: 0.0913ms
414453
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4836ms
414454
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379127508033] runtime: 0.1051ms
414455
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5522ms
414456
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379308604128] runtime: 0.0793ms
414457
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7803ms
414458
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379643051681] runtime: 0.0778ms
414459
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7815ms
414460
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380054930802] runtime: 0.0747ms
414461
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7861ms
414462
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378728484406] runtime: 0.1736ms
414463
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.1745ms
414464
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378269576083] runtime: 0.1094ms
414465
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7420ms
414466
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379577833303] runtime: 0.0689ms
414467
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms
414468
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379258843043] runtime: 0.0678ms
414469
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6750ms
414470
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379297239961] runtime: 0.0664ms
414471
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6594ms
414472
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379564354245] runtime: 0.0652ms
414473
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6371ms
414474
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378231647940] runtime: 0.0642ms
414475
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5978ms
414476
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378348220635] runtime: 0.0649ms
414477
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5977ms
414478
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379508528624] runtime: 0.0640ms
414479
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6207ms
414480
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379582301944] runtime: 0.0647ms
414481
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6002ms
414482
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379702193897] runtime: 0.0633ms
414483
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5840ms
414484
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378001162842] runtime: 0.0629ms
414485
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6321ms
414486
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379667333355] runtime: 0.0608ms
414487
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6780ms
414488
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378101080872] runtime: 0.0628ms
414489
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6838ms
414490
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380064051253] runtime: 0.0618ms
414491
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6435ms
414492
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380090277647] runtime: 0.0559ms
414493
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8207ms
414494
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379648876696] runtime: 0.0618ms
414495
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7623ms
414496
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378879230665] runtime: 0.0623ms
414497
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8151ms
414498
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378447251642] runtime: 0.0550ms
414499
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8281ms
414500
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379177546036] runtime: 0.0632ms
414501
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8290ms
414502
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379613416027] runtime: 0.0725ms
414503
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8249ms
414504
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378391096527] runtime: 0.0564ms
414505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7942ms
414506
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379249329238] runtime: 0.0544ms
414507
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7764ms
414508
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378150792019] runtime: 0.0540ms
414509
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7599ms
414510
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379547423659] runtime: 0.0535ms
414511
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7130ms
414512
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379425601321] runtime: 0.0543ms
414513
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7184ms
414514
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378875752123] runtime: 0.0533ms
414515
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7049ms
414516
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379639188099] runtime: 0.0531ms
414517
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms
414518
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379737299691] runtime: 0.0529ms
414519
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7119ms
414520
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378029151998] runtime: 0.0532ms
414521
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7181ms
414522
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378959582266] runtime: 0.0527ms
414523
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6981ms
414524
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379259459475] runtime: 0.0528ms
414525
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7072ms
414526
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378005147854] runtime: 0.0535ms
414527
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7007ms
414528
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379542358669] runtime: 0.0529ms
414529
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6994ms
414530
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379687544060] runtime: 0.0525ms
414531
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7080ms
414532
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378669480708] runtime: 0.0528ms
414533
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6991ms
414534
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378792526884] runtime: 0.0515ms
414535
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6971ms
414536
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379942848562] runtime: 0.0516ms
414537
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7114ms
414538
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378764394945] runtime: 0.0529ms
414539
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7069ms
414540
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379168502109] runtime: 0.0536ms
414541
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7122ms
414542
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378556233243] runtime: 0.0533ms
414543
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms
414544
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379903799303] runtime: 0.0528ms
414545
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6958ms
414546
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379229562703] runtime: 0.0511ms
414547
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms
414548
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379525826993] runtime: 0.0520ms
414549
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms
414550
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378696100212] runtime: 0.0529ms
414551
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms
414552
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379698258746] runtime: 0.0522ms
414553
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6547ms
414554
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379783666962] runtime: 0.0526ms
414555
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms
414556
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378851171385] runtime: 0.0532ms
414557
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7299ms
414558
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379139462061] runtime: 0.0533ms
414559
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms
414560
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378443511339] runtime: 0.0531ms
414561
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7246ms
414562
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379992526571] runtime: 0.0524ms
414563
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7132ms
414564
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378437353004] runtime: 0.0528ms
414565
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7127ms
414566
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379801903721] runtime: 0.0530ms
414567
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7227ms
414568
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379622821138] runtime: 0.0520ms
414569
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6968ms
414570
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379762323718] runtime: 0.0517ms
414571
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6963ms
414572
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379921534087] runtime: 0.0512ms
414573
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7104ms
414574
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379269156390] runtime: 0.0524ms
414575
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7383ms
414576
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379722087151] runtime: 0.0526ms
414577
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7040ms
414578
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378837936078] runtime: 0.0521ms
414579
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7116ms
414580
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378128295789] runtime: 0.0515ms
414581
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms
414582
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378420108595] runtime: 0.0527ms
414583
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6936ms
414584
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378301855981] runtime: 0.0518ms
414585
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7390ms
414586
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378511283173] runtime: 0.0522ms
414587
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7043ms
414588
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379225526311] runtime: 0.0513ms
414589
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6986ms
414590
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379755703650] runtime: 0.0510ms
414591
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7064ms
414592
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378461109177] runtime: 0.0509ms
414593
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7263ms
414594
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377983163238] runtime: 0.0536ms
414595
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7073ms
414596
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379686168600] runtime: 0.0518ms
414597
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6707ms
414598
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379342964390] runtime: 0.0531ms
414599
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6991ms
414600
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378443819199] runtime: 0.0520ms
414601
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7028ms
414602
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379940984338] runtime: 0.0507ms
414603
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7442ms
414604
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379709226789] runtime: 0.0525ms
414605
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6668ms
414606
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378347269112] runtime: 0.0514ms
414607
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6970ms
414608
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378377141823] runtime: 0.0518ms
414609
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms
414610
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379736274122] runtime: 0.0514ms
414611
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms
414612
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379928705401] runtime: 0.0534ms
414613
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6947ms
414614
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379760870106] runtime: 0.0528ms
414615
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7187ms
414616
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378848735379] runtime: 0.0520ms
414617
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6969ms
414618
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378003177241] runtime: 0.0516ms
414619
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6946ms
414620
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379712226822] runtime: 0.0520ms
414621
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7006ms
414622
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378418138141] runtime: 0.0520ms
414623
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6957ms
414624
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378121242505] runtime: 0.0539ms
414625
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6949ms
414626
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377981859806] runtime: 0.0507ms
414627
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6915ms
414628
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379842145537] runtime: 0.0521ms
414629
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6961ms
414630
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379040193907] runtime: 0.0699ms
414631
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6952ms
414632
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378144927460] runtime: 0.0524ms
414633
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6911ms
414634
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379001303003] runtime: 0.0527ms
414635
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6916ms
414636
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379712896568] runtime: 0.0514ms
414637
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6935ms
414638
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379482887066] runtime: 0.0510ms
414639
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6937ms
414640
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378547572910] runtime: 0.0541ms
414641
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6997ms
414642
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378052206884] runtime: 0.0518ms
414643
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6920ms
414644
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379477723287] runtime: 0.0512ms
414645
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6983ms
414646
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379922116058] runtime: 0.0513ms
414647
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6617ms
414648
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378578155319] runtime: 0.0505ms
414649
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7242ms
414650
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379969687922] runtime: 0.0522ms
414651
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9460ms
414652
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378919553323] runtime: 0.0645ms
414653
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7431ms
414654
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379175715431] runtime: 0.0559ms
414655
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7235ms
414656
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379233991115] runtime: 0.0532ms
414657
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7399ms
414658
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379814727675] runtime: 0.0539ms
414659
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7193ms
414660
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379105904598] runtime: 0.0520ms
414661
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6913ms
414662
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378470057028] runtime: 0.0538ms
414663
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6978ms
414664
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379950478204] runtime: 0.0520ms
414665
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6880ms
414666
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378523348298] runtime: 0.0537ms
414667
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6921ms
414668
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379340462364] runtime: 0.0527ms
414669
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6976ms
414670
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378582878194] runtime: 0.0519ms
414671
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6908ms
414672
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378727881716] runtime: 0.0524ms
414673
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6872ms
414674
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378174944957] runtime: 0.0520ms
414675
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6981ms
414676
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377985823431] runtime: 0.0517ms
414677
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7102ms
414678
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379140003540] runtime: 0.0514ms
414679
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6865ms
414680
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378259442315] runtime: 0.0519ms
414681
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7029ms
414682
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378973853736] runtime: 0.0521ms
414683
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6998ms
414684
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379787409078] runtime: 0.0509ms
414685
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6942ms
414686
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378517862966] runtime: 0.0508ms
414687
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6982ms
414688
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378410581442] runtime: 0.0505ms
414689
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6869ms
414690
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378102889938] runtime: 0.0506ms
414691
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6925ms
414692
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378590517300] runtime: 0.0503ms
414693
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7014ms
414694
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379655678768] runtime: 0.0557ms
414695
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6896ms
414696
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379164435320] runtime: 0.0504ms
414697
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7081ms
414698
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378781423865] runtime: 0.0502ms
414699
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7126ms
414700
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378259351441] runtime: 0.0508ms
414701
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7000ms
414702
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379700750986] runtime: 0.0508ms
414703
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7151ms
414704
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379818780908] runtime: 0.0508ms
414705
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7093ms
414706
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379319178203] runtime: 0.0505ms
414707
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7015ms
414708
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379536230720] runtime: 0.0580ms
414709
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6996ms
414710
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379377680883] runtime: 0.0502ms
414711
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7090ms
414712
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379849175618] runtime: 0.0505ms
414713
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7082ms
414714
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379489895946] runtime: 0.0518ms
414715
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms
414716
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377968480616] runtime: 0.0508ms
414717
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7145ms
414718
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378833365783] runtime: 0.0526ms
414719
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7011ms
414720
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379956583344] runtime: 0.0506ms
414721
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6929ms
414722
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378795470665] runtime: 0.0591ms
414723
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6962ms
414724
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379495652879] runtime: 0.0503ms
414725
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7044ms
414726
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379084448957] runtime: 0.0503ms
414727
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7042ms
414728
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379548633008] runtime: 0.0500ms
414729
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6951ms
414730
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379327506757] runtime: 0.0510ms
414731
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7074ms
414732
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379384316185] runtime: 0.0497ms
414733
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7060ms
414734
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379648152394] runtime: 0.0500ms
414735
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6986ms
414736
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378520271204] runtime: 0.0582ms
414737
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6954ms
414738
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378013112402] runtime: 0.0502ms
414739
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7399ms
414740
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378553813160] runtime: 0.0505ms
414741
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7023ms
414742
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378493853395] runtime: 0.0505ms
414743
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6988ms
414744
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379131551633] runtime: 0.0507ms
414745
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7052ms
414746
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378093767627] runtime: 0.0496ms
414747
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7009ms
414748
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379338446831] runtime: 0.0535ms
414749
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7181ms
414750
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379512098864] runtime: 0.0600ms
414751
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7057ms
414752
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378361295075] runtime: 0.0525ms
414753
+ -----------------------------------------------
414754
+ ProductsControllerTest: test_should_get_iterate
414755
+ -----------------------------------------------
414756
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12dd0000'), "name"=>"Shane Corkery", "reference"=>"Dr. Dorian Hackett", "quantity"=>4}] flags=[]
414757
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3678ms
414758
+ Processing by ProductsController#iterate as HTML
414759
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3542ms
414760
+ Completed 200 OK in 33ms (Views: 32.0ms)
414761
+ --------------------------------------------------
414762
+ ProductsControllerTest: test_should_get_json_index
414763
+ --------------------------------------------------
414764
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12de0000'), "name"=>"Merlin Windler", "reference"=>"Robin Emmerich Sr.", "quantity"=>7}] flags=[]
414765
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
414766
+ Processing by ProductsController#index as JSON
414767
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7241ms
414768
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378901633913] runtime: 0.1410ms
414769
+ Completed 200 OK in 5ms (Views: 1.6ms)
414770
+ -------------------------------------------------
414771
+ ProductsControllerTest: test_should_get_json_show
414772
+ -------------------------------------------------
414773
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12df0000'), "name"=>"Lee Larkin", "reference"=>"Raymundo Brakus", "quantity"=>4}] flags=[]
414774
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5089ms
414775
+ Processing by ProductsController#show as JSON
414776
+ Parameters: {"id"=>"54b9579f7735330b12df0000"}
414777
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12df0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3705ms
414778
+ Completed 200 OK in 2ms (Views: 0.2ms)
414779
+ -------------------------------------------
414780
+ ProductsControllerTest: test_should_get_new
414781
+ -------------------------------------------
414782
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e00000'), "name"=>"Kaelyn Larkin", "reference"=>"Sylvia Maggio", "quantity"=>5}] flags=[]
414783
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4117ms
414784
+ Processing by ProductsController#new as HTML
414785
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms)
414786
+ Completed 200 OK in 6ms (Views: 4.8ms)
414787
+ --------------------------------------------
414788
+ ProductsControllerTest: test_should_get_show
414789
+ --------------------------------------------
414790
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e20000'), "name"=>"Colby Franecki", "reference"=>"Shad Ratke", "quantity"=>8}] flags=[]
414791
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6570ms
414792
+ Processing by ProductsController#show as HTML
414793
+ Parameters: {"id"=>"54b9579f7735330b12e20000"}
414794
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12e20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3098ms
414795
+ Completed 200 OK in 6ms (Views: 4.4ms)
414796
+ ---------------------------------------------------------------
414797
+ ProductsControllerTest: test_should_iterate_edit_first_and_next
414798
+ ---------------------------------------------------------------
414799
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e30000'), "name"=>"Alessandro Lakin", "reference"=>"Bernita Leffler", "quantity"=>4}] flags=[]
414800
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4091ms
414801
+ Processing by ProductsController#iterate as HTML
414802
+ Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}
414803
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2748ms
414804
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2617ms
414805
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579d7735330b12060000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
414806
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
414807
+ Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1
414808
+ Completed 302 Found in 4ms
414809
+ Processing by ProductsController#iterate as HTML
414810
+ Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}
414811
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2657ms
414812
+ Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0
414813
+ Completed 302 Found in 2ms
414814
+ ------------------------------------------------------
414815
+ ProductsControllerTest: test_should_iterate_first_edit
414816
+ ------------------------------------------------------
414817
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e40000'), "name"=>"Coby Padberg", "reference"=>"Audra Skiles", "quantity"=>0}] flags=[]
414818
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4262ms
414819
+ Processing by ProductsController#iterate as HTML
414820
+ Parameters: {"pos"=>"0", "edit"=>true}
414821
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3890ms
414822
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3375ms
414823
+ Completed 200 OK in 6ms (Views: 3.0ms)
414824
+ ------------------------------------------------------
414825
+ ProductsControllerTest: test_should_iterate_first_show
414826
+ ------------------------------------------------------
414827
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e50000'), "name"=>"Rick Hodkiewicz", "reference"=>"Ayden Hand", "quantity"=>8}] flags=[]
414828
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3800ms
414829
+ Processing by ProductsController#iterate as HTML
414830
+ Parameters: {"pos"=>"0"}
414831
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2544ms
414832
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2353ms
414833
+ Completed 200 OK in 4ms (Views: 2.7ms)
414834
+ -----------------------------------------------
414835
+ ProductsControllerTest: test_should_json_create
414836
+ -----------------------------------------------
414837
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e60000'), "name"=>"Enola Emard", "reference"=>"Monique Rempel IV", "quantity"=>2}] flags=[]
414838
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3516ms
414839
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1954ms
414840
+ Processing by ProductsController#create as JSON
414841
+ Parameters: {"product"=>{"name"=>"Hello"}}
414842
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e70000'), "name"=>"Hello"}] flags=[]
414843
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4100ms
414844
+ Completed 201 Created in 2ms (Views: 0.2ms)
414845
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1925ms
414846
+ ------------------------------------------------
414847
+ ProductsControllerTest: test_should_json_destroy
414848
+ ------------------------------------------------
414849
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e80000'), "name"=>"Fay Bechtelar", "reference"=>"Desmond Moore", "quantity"=>6}] flags=[]
414850
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2364ms
414851
+ Processing by ProductsController#destroy as JSON
414852
+ Parameters: {"id"=>"54b9579f7735330b12e80000"}
414853
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12e80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2502ms
414854
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12e80000')} flags=[:remove_first]
414855
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2306ms
414856
+ Completed 200 OK in 2ms (Views: 0.1ms)
414857
+ ---------------------------------------------------
414858
+ ProductsControllerTest: test_should_json_not_create
414859
+ ---------------------------------------------------
414860
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12e90000'), "name"=>"Johnny Okuneva", "reference"=>"Miss Edythe DuBuque", "quantity"=>6}] flags=[]
414861
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2652ms
414862
+ Processing by ProductsController#create as JSON
414863
+ Parameters: {"product"=>{"quantity"=>1}}
414864
+ Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
414865
+ -----------------------------------------------
414866
+ ProductsControllerTest: test_should_json_update
414867
+ -----------------------------------------------
414868
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12eb0000'), "name"=>"Julia Kuhlman", "reference"=>"Casper Kunze", "quantity"=>0}] flags=[]
414869
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3666ms
414870
+ Processing by ProductsController#update as JSON
414871
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9579f7735330b12eb0000"}
414872
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12eb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2783ms
414873
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12eb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
414874
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms
414875
+ Completed 202 Accepted in 3ms (Views: 0.2ms)
414876
+ ------------------------------------------
414877
+ ProductsControllerTest: test_should_update
414878
+ ------------------------------------------
414879
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12ec0000'), "name"=>"Phoebe Keebler", "reference"=>"Deondre Walsh", "quantity"=>5}] flags=[]
414880
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2543ms
414881
+ Processing by ProductsController#update as HTML
414882
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b9579f7735330b12ec0000"}
414883
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2397ms
414884
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
414885
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2680ms
414886
+ Redirected to http://test.host/products/54b9579f7735330b12ec0000
414887
+ Completed 302 Found in 3ms
414888
+ ---------------------------------------------
414889
+ SubcommentsControllerTest: test_should_create
414890
+ ---------------------------------------------
414891
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12ef0000'), "name"=>"Coy Russel", "reference"=>"Ms. Marlon Simonis", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12ed0000'), "author_name"=>"Tania Torp", "content"=>["Cum ipsam quisquam consequatur omnis adipisci sit cupiditate. Omnis qui voluptatum delectus voluptatem deleniti ab. Dolor et et qui quisquam blanditiis non praesentium. Quia et quasi quam. Quos sed possimus voluptatibus."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12ee0000'), "author_name"=>"Alana O'Conner", "content"=>["Et facere ut reiciendis. Laboriosam nisi odio tenetur nesciunt. Et amet nesciunt temporibus. Sunt hic esse quos fuga et id reiciendis."]}]}]}] flags=[]
414892
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4132ms
414893
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3026ms
414894
+ Processing by SubcommentsController#create as HTML
414895
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b9579f7735330b12ef0000", "comment_id"=>"54b9579f7735330b12ed0000"}
414896
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3447ms
414897
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ef0000'), "comments._id"=>BSON::ObjectId('54b9579f7735330b12ed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9579f7735330b12f00000'), "author_name"=>"Hello"}}} flags=[]
414898
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5140ms
414899
+ Redirected to http://test.host/products/54b9579f7735330b12ef0000/comments/54b9579f7735330b12ed0000/comments/54b9579f7735330b12f00000
414900
+ Completed 302 Found in 4ms
414901
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2932ms
414902
+ ----------------------------------------------
414903
+ SubcommentsControllerTest: test_should_destroy
414904
+ ----------------------------------------------
414905
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12f30000'), "name"=>"Dr. Demond Hessel", "reference"=>"Rollin Leuschke", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f10000'), "author_name"=>"Adela Legros", "content"=>["Voluptatem amet alias nulla ut laudantium delectus error. Sint veritatis ut officia dolores saepe ipsam. Doloribus quis inventore corporis sit officia. Est unde sunt aut voluptatem qui. Laudantium rerum sapiente sunt dolores sint mollitia eos."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f20000'), "author_name"=>"Corine Glover", "content"=>["Dolorum tenetur ad hic ut temporibus ea. Quo eveniet atque. Nihil odio nisi sit sint fugit est. Voluptatem aspernatur ipsam blanditiis error autem. Vel labore earum."]}]}]}] flags=[]
414906
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4651ms
414907
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3073ms
414908
+ Processing by SubcommentsController#destroy as HTML
414909
+ Parameters: {"product_id"=>"54b9579f7735330b12f30000", "comment_id"=>"54b9579f7735330b12f10000", "id"=>"54b9579f7735330b12f20000"}
414910
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3386ms
414911
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f30000'), "comments._id"=>BSON::ObjectId('54b9579f7735330b12f10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b9579f7735330b12f20000')}}} flags=[]
414912
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2895ms
414913
+ Redirected to http://test.host/products/54b9579f7735330b12f30000/comments/54b9579f7735330b12f10000/comments
414914
+ Completed 302 Found in 5ms
414915
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3718ms
414916
+ -----------------------------------------------
414917
+ SubcommentsControllerTest: test_should_get_edit
414918
+ -----------------------------------------------
414919
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12f60000'), "name"=>"Junior Hackett", "reference"=>"Ralph Ruecker", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f40000'), "author_name"=>"Diana Kilback", "content"=>["Et et recusandae temporibus. Similique rem perferendis accusantium error quam assumenda. Possimus rerum excepturi ut et quam."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f50000'), "author_name"=>"Marty Kihn", "content"=>["Pariatur voluptatem et cumque id alias qui. Soluta sequi hic sint. Voluptatem eos id. Esse iste veritatis eveniet odit."]}]}]}] flags=[]
414920
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5559ms
414921
+ Processing by SubcommentsController#edit as HTML
414922
+ Parameters: {"product_id"=>"54b9579f7735330b12f60000", "comment_id"=>"54b9579f7735330b12f40000", "id"=>"54b9579f7735330b12f50000"}
414923
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4437ms
414924
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.8ms)
414925
+ Completed 200 OK in 13ms (Views: 9.1ms)
414926
+ ------------------------------------------------
414927
+ SubcommentsControllerTest: test_should_get_index
414928
+ ------------------------------------------------
414929
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12f90000'), "name"=>"Hettie Upton I", "reference"=>"Xavier Welch", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f70000'), "author_name"=>"Arielle Lubowitz", "content"=>["Sed ut eos quia maxime. Neque eum eos omnis ducimus beatae necessitatibus. Fugit tenetur neque vitae. Reprehenderit eos ut."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12f80000'), "author_name"=>"Dangelo McDermott", "content"=>["Vel quia saepe voluptas qui. Exercitationem quia aut labore. Nesciunt repellendus dicta enim illo quae odit et. Culpa qui quo id sint veniam est harum. Quam dolorem sed culpa ex ut possimus."]}]}]}] flags=[]
414930
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6317ms
414931
+ Processing by SubcommentsController#index as HTML
414932
+ Parameters: {"product_id"=>"54b9579f7735330b12f90000", "comment_id"=>"54b9579f7735330b12f70000"}
414933
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12f90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4484ms
414934
+ Completed 200 OK in 8ms (Views: 4.8ms)
414935
+ -----------------------------------------------------
414936
+ SubcommentsControllerTest: test_should_get_json_index
414937
+ -----------------------------------------------------
414938
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12fc0000'), "name"=>"Darryl Maggio", "reference"=>"Juliet Auer", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12fa0000'), "author_name"=>"Danny Stroman", "content"=>["Animi dolore quo fugit architecto accusamus molestias. In molestiae autem. Quisquam et dicta repudiandae. Doloribus non consequatur quia error sequi."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12fb0000'), "author_name"=>"Jeffry Simonis", "content"=>["Et eum hic repudiandae minus perspiciatis. Quia aliquam quia doloribus architecto repudiandae rem. Et qui voluptate dolores. Vel expedita minus autem voluptatem non quam."]}]}]}] flags=[]
414939
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms
414940
+ Processing by SubcommentsController#index as JSON
414941
+ Parameters: {"product_id"=>"54b9579f7735330b12fc0000", "comment_id"=>"54b9579f7735330b12fa0000"}
414942
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12fc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4161ms
414943
+ Completed 200 OK in 4ms (Views: 0.2ms)
414944
+ ----------------------------------------------------
414945
+ SubcommentsControllerTest: test_should_get_json_show
414946
+ ----------------------------------------------------
414947
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12ff0000'), "name"=>"Dawn Mraz", "reference"=>"Hollie Connelly", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12fd0000'), "author_name"=>"Maurice Denesik", "content"=>["Sit minima sunt eos et consequatur aliquid fugiat. Nesciunt maxime et. Porro dolorum est consequatur."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12fe0000'), "author_name"=>"Weldon Larkin", "content"=>["Cumque consectetur omnis itaque. Dolor occaecati consectetur autem tenetur voluptatum animi. Possimus corrupti quos itaque nesciunt eos veniam. Voluptas ab iure quo. Velit quo aut."]}]}]}] flags=[]
414948
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5066ms
414949
+ Processing by SubcommentsController#show as JSON
414950
+ Parameters: {"product_id"=>"54b9579f7735330b12ff0000", "comment_id"=>"54b9579f7735330b12fd0000", "id"=>"54b9579f7735330b12fe0000"}
414951
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12ff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4141ms
414952
+ Completed 200 OK in 4ms (Views: 0.3ms)
414953
+ ----------------------------------------------
414954
+ SubcommentsControllerTest: test_should_get_new
414955
+ ----------------------------------------------
414956
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12020100'), "name"=>"Ms. Jana Greenholt", "reference"=>"Mariah Parisian", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12000100'), "author_name"=>"Kelli Stracke", "content"=>["Id voluptatem dolorem eveniet dolorum autem sint quos. Reiciendis et doloribus error. Sunt et adipisci asperiores ullam. Exercitationem suscipit in numquam qui voluptas."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12010100'), "author_name"=>"Brigitte Waters Jr.", "content"=>["Dicta accusamus qui nulla aut et. Est sed beatae modi quia laborum. Consequatur corporis cupiditate laboriosam aut voluptas."]}]}]}] flags=[]
414957
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4884ms
414958
+ Processing by SubcommentsController#new as HTML
414959
+ Parameters: {"product_id"=>"54b9579f7735330b12020100", "comment_id"=>"54b9579f7735330b12000100"}
414960
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3793ms
414961
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.9ms)
414962
+ Completed 200 OK in 9ms (Views: 5.9ms)
414963
+ -----------------------------------------------
414964
+ SubcommentsControllerTest: test_should_get_show
414965
+ -----------------------------------------------
414966
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12050100'), "name"=>"Lysanne Mante", "reference"=>"Marvin Reichert", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12030100'), "author_name"=>"Randy Turner", "content"=>["Quia et aperiam ut est est illum. Alias sint vel. Nulla adipisci harum aut est ea ut. Enim quidem amet incidunt laudantium sit. Corporis veritatis alias hic."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12040100'), "author_name"=>"Naomi Stoltenberg", "content"=>["Et est aut quis quod magni in non. Eos et hic molestiae beatae. Id quod laudantium perspiciatis quam numquam amet."]}]}]}] flags=[]
414967
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6120ms
414968
+ Processing by SubcommentsController#show as HTML
414969
+ Parameters: {"product_id"=>"54b9579f7735330b12050100", "comment_id"=>"54b9579f7735330b12030100", "id"=>"54b9579f7735330b12040100"}
414970
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4301ms
414971
+ Completed 200 OK in 7ms (Views: 3.9ms)
414972
+ ---------------------------------------------
414973
+ SubcommentsControllerTest: test_should_update
414974
+ ---------------------------------------------
414975
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12080100'), "name"=>"Salvador Beahan IV", "reference"=>"Tatyana Wiza", "quantity"=>6, "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12060100'), "author_name"=>"Stephan Ankunding", "content"=>["Nesciunt voluptatibus vel iste alias minus ut. Amet quis earum. Iure reiciendis optio. Corrupti numquam impedit."], "comments"=>[{"_id"=>BSON::ObjectId('54b9579f7735330b12070100'), "author_name"=>"Darien Jacobi", "content"=>["Voluptatem provident unde fuga. Sint quod sint voluptatem nobis. Molestiae consequuntur sint quo."]}]}]}] flags=[]
414976
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5094ms
414977
+ Processing by SubcommentsController#update as HTML
414978
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b9579f7735330b12070100", "product_id"=>"54b9579f7735330b12080100", "comment_id"=>"54b9579f7735330b12060100"}
414979
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4214ms
414980
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b9579f7735330b12080100'), "comments._id"=>BSON::ObjectId('54b9579f7735330b12060100'), "comments.0.comments._id"=>BSON::ObjectId('54b9579f7735330b12070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[]
414981
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5467ms
414982
+ Redirected to http://test.host/products/54b9579f7735330b12080100/comments/54b9579f7735330b12060100/comments/54b9579f7735330b12070100
414983
+ Completed 302 Found in 9ms
414984
+ ---------------------------------------
414985
+ UsersControllerTest: test_should_create
414986
+ ---------------------------------------
414987
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12090100'), "firstname"=>"Ray", "lastname"=>"Medhurst"}] flags=[]
414988
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5910ms
414989
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2259ms
414990
+ Processing by UsersController#create as HTML
414991
+ Parameters: {"user"=>{"name"=>"Hello"}}
414992
+ Unpermitted parameters: name
414993
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120a0100')}] flags=[]
414994
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4511ms
414995
+ Redirected to http://test.host/users/54b9579f7735330b120a0100
414996
+ Completed 302 Found in 3ms
414997
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2509ms
414998
+ ----------------------------------------
414999
+ UsersControllerTest: test_should_destroy
415000
+ ----------------------------------------
415001
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120b0100'), "firstname"=>"Cade", "lastname"=>"Gerhold"}] flags=[]
415002
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
415003
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2210ms
415004
+ Processing by UsersController#destroy as HTML
415005
+ Parameters: {"id"=>"54b9579f7735330b120b0100"}
415006
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579f7735330b120b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2969ms
415007
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579f7735330b120b0100')} flags=[:remove_first]
415008
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2700ms
415009
+ Redirected to http://test.host/users
415010
+ Completed 302 Found in 2ms
415011
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1953ms
415012
+ -----------------------------------------
415013
+ UsersControllerTest: test_should_get_edit
415014
+ -----------------------------------------
415015
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120c0100'), "firstname"=>"Bulah", "lastname"=>"Pouros"}] flags=[]
415016
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2676ms
415017
+ Processing by UsersController#edit as HTML
415018
+ Parameters: {"id"=>"54b9579f7735330b120c0100"}
415019
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579f7735330b120c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2840ms
415020
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms)
415021
+ Completed 200 OK in 7ms (Views: 5.9ms)
415022
+ ------------------------------------------
415023
+ UsersControllerTest: test_should_get_index
415024
+ ------------------------------------------
415025
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120d0100'), "firstname"=>"Cecile", "lastname"=>"Hammes"}] flags=[]
415026
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4204ms
415027
+ Processing by UsersController#index as HTML
415028
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3726ms
415029
+ Completed 200 OK in 9ms (Views: 8.7ms)
415030
+ ----------------------------------------
415031
+ UsersControllerTest: test_should_get_new
415032
+ ----------------------------------------
415033
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120e0100'), "firstname"=>"Orion", "lastname"=>"Little"}] flags=[]
415034
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3725ms
415035
+ Processing by UsersController#new as HTML
415036
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
415037
+ Completed 200 OK in 4ms (Views: 3.7ms)
415038
+ -----------------------------------------
415039
+ UsersControllerTest: test_should_get_show
415040
+ -----------------------------------------
415041
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b120f0100'), "firstname"=>"Selena", "lastname"=>"Leuschke"}] flags=[]
415042
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4049ms
415043
+ Processing by UsersController#show as HTML
415044
+ Parameters: {"id"=>"54b9579f7735330b120f0100"}
415045
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579f7735330b120f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2560ms
415046
+ Completed 200 OK in 4ms (Views: 2.5ms)
415047
+ ---------------------------------------
415048
+ UsersControllerTest: test_should_update
415049
+ ---------------------------------------
415050
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b9579f7735330b12100100'), "firstname"=>"Holden", "lastname"=>"Gaylord"}] flags=[]
415051
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3797ms
415052
+ Processing by UsersController#update as HTML
415053
+ Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b9579f7735330b12100100"}
415054
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b9579f7735330b12100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2684ms
415055
+ Unpermitted parameters: name
415056
+ Redirected to http://test.host/users/54b9579f7735330b12100100
415057
+ Completed 302 Found in 2ms
415058
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6529ms
415059
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=system.namespaces selector={:name=>{"$not"=>/system|\$/}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3326ms
415060
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=administrators selector={} flags=[]
415061
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3137ms
415062
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={} flags=[]
415063
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3760ms
415064
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={} flags=[]
415065
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3261ms
415066
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={} flags=[]
415067
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6999ms
415068
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={} flags=[]
415069
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2239ms
415070
+ -------------------------------------------------------
415071
+ Admin::AdministratorsControllerTest: test_should_create
415072
+ -------------------------------------------------------
415073
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e000000'), "firstname"=>"Pete", "lastname"=>"Durgan"}] flags=[]
415074
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4941ms
415075
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1788ms
415076
+ Processing by Admin::AdministratorsController#create as HTML
415077
+ Parameters: {"administrator"=>{"firstname"=>"Hello"}}
415078
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e010000'), "firstname"=>"Hello"}] flags=[]
415079
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5267ms
415080
+ Redirected to http://test.host/admin/administrator
415081
+ Completed 302 Found in 3ms
415082
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.2297ms
415083
+ ---------------------------------------------------------
415084
+ Admin::AdministratorsControllerTest: test_should_get_edit
415085
+ ---------------------------------------------------------
415086
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e020000'), "firstname"=>"Alejandra", "lastname"=>"Mraz"}] flags=[]
415087
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3901ms
415088
+ Processing by Admin::AdministratorsController#edit as HTML
415089
+ Parameters: {"id"=>"54b957b77735330c0e020000"}
415090
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b77735330c0e020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3256ms
415091
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.1ms)
415092
+ Completed 200 OK in 18ms (Views: 16.8ms)
415093
+ --------------------------------------------------------
415094
+ Admin::AdministratorsControllerTest: test_should_get_new
415095
+ --------------------------------------------------------
415096
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e030000'), "firstname"=>"Doyle", "lastname"=>"Kunde"}] flags=[]
415097
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 17.4451ms
415098
+ Processing by Admin::AdministratorsController#new as HTML
415099
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms)
415100
+ Completed 200 OK in 4ms (Views: 3.4ms)
415101
+ ---------------------------------------------------------
415102
+ Admin::AdministratorsControllerTest: test_should_get_show
415103
+ ---------------------------------------------------------
415104
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e040000'), "firstname"=>"Isadore", "lastname"=>"Jenkins"}] flags=[]
415105
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4796ms
415106
+ Processing by Admin::AdministratorsController#show as HTML
415107
+ Parameters: {"id"=>"54b957b77735330c0e040000"}
415108
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b77735330c0e040000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2934ms
415109
+ Completed 200 OK in 4ms (Views: 2.3ms)
415110
+ -------------------------------------------------------
415111
+ Admin::AdministratorsControllerTest: test_should_update
415112
+ -------------------------------------------------------
415113
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b77735330c0e050000'), "firstname"=>"Webster", "lastname"=>"Gerlach"}] flags=[]
415114
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4609ms
415115
+ Processing by Admin::AdministratorsController#update as HTML
415116
+ Parameters: {"id"=>"54b957b77735330c0e050000", "administrator"=>{"name"=>"Hello"}}
415117
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b77735330c0e050000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2888ms
415118
+ Unpermitted parameters: name
415119
+ Redirected to http://test.host/admin/administrator
415120
+ Completed 302 Found in 2ms
415121
+ -------------------------------------------------
415122
+ Admin::CommentsControllerTest: test_should_create
415123
+ -------------------------------------------------
415124
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e060000'), "name"=>"Albin Cronin", "reference"=>"Mr. Georgianna Farrell", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e070000'), "author_name"=>"Alexys Pouros", "content"=>["Eos quasi sit eum maiores veniam nostrum minus. Illo ea vel ut temporibus velit dolorem necessitatibus. Doloribus iure libero enim quidem."]}]}] flags=[]
415125
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4045ms
415126
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1702ms
415127
+ Processing by Admin::CommentsController#create as HTML
415128
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b957b87735330c0e060000"}
415129
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2407ms
415130
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e060000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e080000'), "author_name"=>"Hello"}}} flags=[]
415131
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2762ms
415132
+ Redirected to http://test.host/admin/products/54b957b87735330c0e060000/comments/54b957b87735330c0e080000
415133
+ Completed 302 Found in 4ms
415134
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e060000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2298ms
415135
+ --------------------------------------------------
415136
+ Admin::CommentsControllerTest: test_should_destroy
415137
+ --------------------------------------------------
415138
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e090000'), "name"=>"Miss Savion Johnson", "reference"=>"Ms. Chance Parker", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e0a0000'), "author_name"=>"Ocie Quitzon", "content"=>["Doloribus sed culpa. Dolorum ad dolor a perspiciatis necessitatibus sed adipisci. Autem quo et atque cumque sint odit."]}]}] flags=[]
415139
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3309ms
415140
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1924ms
415141
+ Processing by Admin::CommentsController#destroy as HTML
415142
+ Parameters: {"product_id"=>"54b957b87735330c0e090000", "id"=>"54b957b87735330c0e0a0000"}
415143
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms
415144
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e090000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e0a0000')}}} flags=[]
415145
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2899ms
415146
+ Redirected to http://test.host/admin/products/54b957b87735330c0e090000/comments
415147
+ Completed 302 Found in 3ms
415148
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e090000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms
415149
+ ---------------------------------------------------
415150
+ Admin::CommentsControllerTest: test_should_get_edit
415151
+ ---------------------------------------------------
415152
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e0b0000'), "name"=>"Ms. Domenic Marquardt", "reference"=>"Fatima Altenwerth III", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e0c0000'), "author_name"=>"Henderson Graham", "content"=>["Ut adipisci ea placeat. Molestiae temporibus quod fugit ad. Impedit deleniti nostrum ducimus asperiores ut. Rerum dolorum sed voluptas delectus aut. At dolor atque ipsam expedita excepturi libero impedit."]}]}] flags=[]
415153
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2611ms
415154
+ Processing by Admin::CommentsController#edit as HTML
415155
+ Parameters: {"product_id"=>"54b957b87735330c0e0b0000", "id"=>"54b957b87735330c0e0c0000"}
415156
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e0b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2310ms
415157
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms)
415158
+ Completed 200 OK in 7ms (Views: 5.5ms)
415159
+ ----------------------------------------------------
415160
+ Admin::CommentsControllerTest: test_should_get_index
415161
+ ----------------------------------------------------
415162
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e0d0000'), "name"=>"Ms. Elmore Mohr", "reference"=>"Arielle Satterfield", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e0e0000'), "author_name"=>"Joe Runte", "content"=>["Commodi consequatur suscipit alias aut. Aut perspiciatis eaque accusamus omnis qui. Tenetur voluptas eius. Ea nesciunt molestias eos. Architecto id omnis rem hic."]}]}] flags=[]
415163
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3875ms
415164
+ Processing by Admin::CommentsController#index as HTML
415165
+ Parameters: {"product_id"=>"54b957b87735330c0e0d0000"}
415166
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e0d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2466ms
415167
+ Completed 200 OK in 5ms (Views: 3.0ms)
415168
+ --------------------------------------------------
415169
+ Admin::CommentsControllerTest: test_should_get_new
415170
+ --------------------------------------------------
415171
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e0f0000'), "name"=>"Raymundo Hahn", "reference"=>"Fermin Lemke", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e100000'), "author_name"=>"Florida Bartell", "content"=>["Voluptate at voluptas sint. Non blanditiis beatae maiores ex. Sit velit ab dolor rerum nulla. Cupiditate voluptas rerum eveniet nemo ratione minus. Recusandae officia doloremque."]}]}] flags=[]
415172
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3715ms
415173
+ Processing by Admin::CommentsController#new as HTML
415174
+ Parameters: {"product_id"=>"54b957b87735330c0e0f0000"}
415175
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e0f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2193ms
415176
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
415177
+ Completed 200 OK in 5ms (Views: 3.5ms)
415178
+ ---------------------------------------------------
415179
+ Admin::CommentsControllerTest: test_should_get_show
415180
+ ---------------------------------------------------
415181
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e110000'), "name"=>"Mr. Darrell Bogan", "reference"=>"Ceasar Becker", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e120000'), "author_name"=>"Ms. Mauricio Wehner", "content"=>["Quasi dolorem dolores itaque. Fugiat temporibus rerum. Similique sit voluptatum aut ex minima consequatur eum."]}]}] flags=[]
415182
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3734ms
415183
+ Processing by Admin::CommentsController#show as HTML
415184
+ Parameters: {"product_id"=>"54b957b87735330c0e110000", "id"=>"54b957b87735330c0e120000"}
415185
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e110000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2208ms
415186
+ Completed 200 OK in 4ms (Views: 2.6ms)
415187
+ -------------------------------------------------
415188
+ Admin::CommentsControllerTest: test_should_update
415189
+ -------------------------------------------------
415190
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e130000'), "name"=>"Gino Halvorson", "reference"=>"Larue Parisian", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0e140000'), "author_name"=>"Ms. Taya Hilpert", "content"=>["Beatae ut explicabo qui iusto excepturi ullam sapiente. Cum voluptas eos molestiae soluta. Sunt voluptatibus necessitatibus. Aperiam itaque ut occaecati voluptas quo quod."]}]}] flags=[]
415191
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3700ms
415192
+ Processing by Admin::CommentsController#update as HTML
415193
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b957b87735330c0e140000", "product_id"=>"54b957b87735330c0e130000"}
415194
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e130000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2224ms
415195
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e130000'), "comments._id"=>BSON::ObjectId('54b957b87735330c0e140000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
415196
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3546ms
415197
+ Redirected to http://test.host/admin/products/54b957b87735330c0e130000/comments/54b957b87735330c0e140000
415198
+ Completed 302 Found in 3ms
415199
+ -------------------------------------------------
415200
+ Admin::ManagersControllerTest: test_should_create
415201
+ -------------------------------------------------
415202
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e150000'), "name"=>"Vivianne Gerhold", "reference"=>"Miss Sofia Cummings", "quantity"=>5, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e160000'), "firstname"=>"Hassan", "lastname"=>"Dietrich"}}] flags=[]
415203
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3826ms
415204
+ Processing by Admin::ManagersController#create as HTML
415205
+ Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b957b87735330c0e150000"}
415206
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e150000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2415ms
415207
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e150000')} update={"$unset"=>{"manager"=>true}} flags=[]
415208
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2851ms
415209
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e150000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e170000'), "firstname"=>"Hello"}}} flags=[]
415210
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2115ms
415211
+ Redirected to http://test.host/admin/products/54b957b87735330c0e150000/manager
415212
+ Completed 302 Found in 4ms
415213
+ ---------------------------------------------------
415214
+ Admin::ManagersControllerTest: test_should_get_edit
415215
+ ---------------------------------------------------
415216
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e180000'), "name"=>"Zackery Hickle", "reference"=>"Mr. Ansley Jacobi", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e190000'), "firstname"=>"Georgette", "lastname"=>"Christiansen"}}] flags=[]
415217
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3135ms
415218
+ Processing by Admin::ManagersController#edit as HTML
415219
+ Parameters: {"id"=>"54b957b87735330c0e190000", "product_id"=>"54b957b87735330c0e180000"}
415220
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3648ms
415221
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.7ms)
415222
+ Completed 200 OK in 8ms (Views: 5.9ms)
415223
+ --------------------------------------------------
415224
+ Admin::ManagersControllerTest: test_should_get_new
415225
+ --------------------------------------------------
415226
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e1a0000'), "name"=>"Shad Kerluke", "reference"=>"Miss Annabel Quitzon", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e1b0000'), "firstname"=>"Hayley", "lastname"=>"Harvey"}}] flags=[]
415227
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.4859ms
415228
+ Processing by Admin::ManagersController#new as HTML
415229
+ Parameters: {"product_id"=>"54b957b87735330c0e1a0000"}
415230
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e1a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2897ms
415231
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.9ms)
415232
+ Completed 200 OK in 5ms (Views: 3.8ms)
415233
+ ---------------------------------------------------
415234
+ Admin::ManagersControllerTest: test_should_get_show
415235
+ ---------------------------------------------------
415236
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e1c0000'), "name"=>"Rosalee Koepp", "reference"=>"Oswald Gottlieb", "quantity"=>1, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e1d0000'), "firstname"=>"Jerrold", "lastname"=>"Kiehn"}}] flags=[]
415237
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
415238
+ Processing by Admin::ManagersController#show as HTML
415239
+ Parameters: {"id"=>"54b957b87735330c0e1d0000", "product_id"=>"54b957b87735330c0e1c0000"}
415240
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e1c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2735ms
415241
+ Completed 200 OK in 4ms (Views: 2.4ms)
415242
+ -------------------------------------------------
415243
+ Admin::ManagersControllerTest: test_should_update
415244
+ -------------------------------------------------
415245
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e1e0000'), "name"=>"Charles Muller", "reference"=>"Krystina Weissnat", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0e1f0000'), "firstname"=>"Brandt", "lastname"=>"Bailey"}}] flags=[]
415246
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4289ms
415247
+ Processing by Admin::ManagersController#update as HTML
415248
+ Parameters: {"id"=>"54b957b87735330c0e1f0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b957b87735330c0e1e0000"}
415249
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e1e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2885ms
415250
+ Unpermitted parameters: name
415251
+ Redirected to http://test.host/admin/products/54b957b87735330c0e1e0000/manager
415252
+ Completed 302 Found in 2ms
415253
+ -------------------------------------------------
415254
+ Admin::ProductsControllerTest: test_should_create
415255
+ -------------------------------------------------
415256
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e200000'), "name"=>"Mrs. Stella Bergnaum", "reference"=>"Tyler Reinger", "quantity"=>5}] flags=[]
415257
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4166ms
415258
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1799ms
415259
+ Processing by Admin::ProductsController#create as HTML
415260
+ Parameters: {"product"=>{"name"=>"Hello"}}
415261
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e210000'), "name"=>"Hello"}] flags=[]
415262
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3556ms
415263
+ Redirected to http://test.host/admin/products/54b957b87735330c0e210000
415264
+ Completed 302 Found in 2ms
415265
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1811ms
415266
+ --------------------------------------------------
415267
+ Admin::ProductsControllerTest: test_should_destroy
415268
+ --------------------------------------------------
415269
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e220000'), "name"=>"Trevor Homenick", "reference"=>"Hollis Bartoletti I", "quantity"=>8}] flags=[]
415270
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2951ms
415271
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1657ms
415272
+ Processing by Admin::ProductsController#destroy as HTML
415273
+ Parameters: {"id"=>"54b957b87735330c0e220000"}
415274
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e220000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2530ms
415275
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e220000')} flags=[:remove_first]
415276
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2710ms
415277
+ Redirected to http://test.host/admin/products
415278
+ Completed 302 Found in 2ms
415279
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1790ms
415280
+ ---------------------------------------------------
415281
+ Admin::ProductsControllerTest: test_should_get_edit
415282
+ ---------------------------------------------------
415283
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e230000'), "name"=>"Ray Shanahan", "reference"=>"Tyshawn Russel", "quantity"=>5}] flags=[]
415284
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2440ms
415285
+ Processing by Admin::ProductsController#edit as HTML
415286
+ Parameters: {"id"=>"54b957b87735330c0e230000"}
415287
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e230000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2532ms
415288
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms)
415289
+ Completed 200 OK in 7ms (Views: 5.8ms)
415290
+ ----------------------------------------------------
415291
+ Admin::ProductsControllerTest: test_should_get_index
415292
+ ----------------------------------------------------
415293
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e240000'), "name"=>"Emilio Corkery PhD", "reference"=>"Mrs. Emie Pollich", "quantity"=>3}] flags=[]
415294
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4052ms
415295
+ Processing by Admin::ProductsController#index as HTML
415296
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5043ms
415297
+ Completed 200 OK in 11ms (Views: 10.1ms)
415298
+ --------------------------------------------------
415299
+ Admin::ProductsControllerTest: test_should_get_new
415300
+ --------------------------------------------------
415301
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e250000'), "name"=>"Dr. Sabrina Smitham", "reference"=>"Myra Orn", "quantity"=>3}] flags=[]
415302
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3629ms
415303
+ Processing by Admin::ProductsController#new as HTML
415304
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms)
415305
+ Completed 200 OK in 20ms (Views: 4.2ms)
415306
+ ---------------------------------------------------
415307
+ Admin::ProductsControllerTest: test_should_get_show
415308
+ ---------------------------------------------------
415309
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e280000'), "name"=>"Jamaal Beahan DVM", "reference"=>"Nedra Balistreri", "quantity"=>1}] flags=[]
415310
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4083ms
415311
+ Processing by Admin::ProductsController#show as HTML
415312
+ Parameters: {"id"=>"54b957b87735330c0e280000"}
415313
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e280000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2534ms
415314
+ Completed 200 OK in 4ms (Views: 2.3ms)
415315
+ -------------------------------------------------
415316
+ Admin::ProductsControllerTest: test_should_update
415317
+ -------------------------------------------------
415318
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e290000'), "name"=>"Felicity Schiller", "reference"=>"Kellie Parisian", "quantity"=>6}] flags=[]
415319
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3829ms
415320
+ Processing by Admin::ProductsController#update as HTML
415321
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b957b87735330c0e290000"}
415322
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e290000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2513ms
415323
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e290000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
415324
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3422ms
415325
+ Redirected to http://test.host/admin/products/54b957b87735330c0e290000
415326
+ Completed 302 Found in 3ms
415327
+ ----------------------------------------------
415328
+ Admin::UsersControllerTest: test_should_create
415329
+ ----------------------------------------------
415330
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2a0000'), "firstname"=>"Elijah", "lastname"=>"Brown"}] flags=[]
415331
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 3.0144ms
415332
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1862ms
415333
+ Processing by Admin::UsersController#create as HTML
415334
+ Parameters: {"user"=>{"name"=>"Hello"}}
415335
+ Unpermitted parameters: name
415336
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2b0000')}] flags=[]
415337
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3364ms
415338
+ Redirected to http://test.host/admin/users/54b957b87735330c0e2b0000
415339
+ Completed 302 Found in 2ms
415340
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1774ms
415341
+ -----------------------------------------------
415342
+ Admin::UsersControllerTest: test_should_destroy
415343
+ -----------------------------------------------
415344
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2c0000'), "firstname"=>"Lenny", "lastname"=>"Fisher"}] flags=[]
415345
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3344ms
415346
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1596ms
415347
+ Processing by Admin::UsersController#destroy as HTML
415348
+ Parameters: {"id"=>"54b957b87735330c0e2c0000"}
415349
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b87735330c0e2c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2472ms
415350
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b87735330c0e2c0000')} flags=[:remove_first]
415351
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2760ms
415352
+ Redirected to http://test.host/admin/users
415353
+ Completed 302 Found in 2ms
415354
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1688ms
415355
+ ------------------------------------------------
415356
+ Admin::UsersControllerTest: test_should_get_edit
415357
+ ------------------------------------------------
415358
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2d0000'), "firstname"=>"Gabriella", "lastname"=>"Hilpert"}] flags=[]
415359
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2267ms
415360
+ Processing by Admin::UsersController#edit as HTML
415361
+ Parameters: {"id"=>"54b957b87735330c0e2d0000"}
415362
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b87735330c0e2d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3396ms
415363
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms)
415364
+ Completed 200 OK in 9ms (Views: 7.6ms)
415365
+ -------------------------------------------------
415366
+ Admin::UsersControllerTest: test_should_get_index
415367
+ -------------------------------------------------
415368
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2e0000'), "firstname"=>"Leilani", "lastname"=>"Towne"}] flags=[]
415369
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4143ms
415370
+ Processing by Admin::UsersController#index as HTML
415371
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3329ms
415372
+ Completed 200 OK in 5ms (Views: 5.0ms)
415373
+ -----------------------------------------------
415374
+ Admin::UsersControllerTest: test_should_get_new
415375
+ -----------------------------------------------
415376
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e2f0000'), "firstname"=>"Omari", "lastname"=>"Kirlin"}] flags=[]
415377
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3547ms
415378
+ Processing by Admin::UsersController#new as HTML
415379
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.6ms)
415380
+ Completed 200 OK in 4ms (Views: 3.5ms)
415381
+ ------------------------------------------------
415382
+ Admin::UsersControllerTest: test_should_get_show
415383
+ ------------------------------------------------
415384
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e300000'), "firstname"=>"Retta", "lastname"=>"Hessel"}] flags=[]
415385
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3996ms
415386
+ Processing by Admin::UsersController#show as HTML
415387
+ Parameters: {"id"=>"54b957b87735330c0e300000"}
415388
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b87735330c0e300000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2501ms
415389
+ Completed 200 OK in 4ms (Views: 2.3ms)
415390
+ ----------------------------------------------
415391
+ Admin::UsersControllerTest: test_should_update
415392
+ ----------------------------------------------
415393
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e310000'), "firstname"=>"Dejuan", "lastname"=>"Hills"}] flags=[]
415394
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
415395
+ Processing by Admin::UsersController#update as HTML
415396
+ Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b957b87735330c0e310000"}
415397
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b87735330c0e310000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2565ms
415398
+ Unpermitted parameters: name
415399
+ Redirected to http://test.host/admin/users/54b957b87735330c0e310000
415400
+ Completed 302 Found in 2ms
415401
+ ------------------------------------------------
415402
+ AdministratorsControllerTest: test_should_create
415403
+ ------------------------------------------------
415404
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e320000'), "firstname"=>"Krista", "lastname"=>"Lebsack"}] flags=[]
415405
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4124ms
415406
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1656ms
415407
+ Processing by AdministratorsController#create as HTML
415408
+ Parameters: {"administrator"=>{"firstname"=>"Hello"}}
415409
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e330000'), "firstname"=>"Hello"}] flags=[]
415410
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3277ms
415411
+ Redirected to http://test.host/administrator
415412
+ Completed 302 Found in 2ms
415413
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"administrators", :query=>{}} runtime: 0.1788ms
415414
+ --------------------------------------------------
415415
+ AdministratorsControllerTest: test_should_get_edit
415416
+ --------------------------------------------------
415417
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e340000'), "firstname"=>"Catalina", "lastname"=>"Vandervort"}] flags=[]
415418
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2865ms
415419
+ Processing by AdministratorsController#edit as HTML
415420
+ Parameters: {"id"=>"54b957b87735330c0e340000"}
415421
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b87735330c0e340000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2642ms
415422
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms)
415423
+ Completed 200 OK in 6ms (Views: 5.2ms)
415424
+ -------------------------------------------------
415425
+ AdministratorsControllerTest: test_should_get_new
415426
+ -------------------------------------------------
415427
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e350000'), "firstname"=>"Marcelina", "lastname"=>"Larson"}] flags=[]
415428
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4119ms
415429
+ Processing by AdministratorsController#new as HTML
415430
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
415431
+ Completed 200 OK in 4ms (Views: 3.4ms)
415432
+ --------------------------------------------------
415433
+ AdministratorsControllerTest: test_should_get_show
415434
+ --------------------------------------------------
415435
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e360000'), "firstname"=>"Marvin", "lastname"=>"Ledner"}] flags=[]
415436
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 1.2022ms
415437
+ Processing by AdministratorsController#show as HTML
415438
+ Parameters: {"id"=>"54b957b87735330c0e360000"}
415439
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b87735330c0e360000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2582ms
415440
+ Completed 200 OK in 4ms (Views: 2.3ms)
415441
+ ------------------------------------------------
415442
+ AdministratorsControllerTest: test_should_update
415443
+ ------------------------------------------------
415444
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=administrators documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e370000'), "firstname"=>"Marilou", "lastname"=>"Turcotte"}] flags=[]
415445
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5027ms
415446
+ Processing by AdministratorsController#update as HTML
415447
+ Parameters: {"id"=>"54b957b87735330c0e370000", "administrator"=>{"name"=>"Hello"}}
415448
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=administrators selector={"_id"=>BSON::ObjectId('54b957b87735330c0e370000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2648ms
415449
+ Unpermitted parameters: name
415450
+ Redirected to http://test.host/administrator
415451
+ Completed 302 Found in 2ms
415452
+ --------------------------------------------
415453
+ CategoriesControllerTest: test_should_create
415454
+ --------------------------------------------
415455
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e380000'), "name"=>"Meggie Kub III"}] flags=[]
415456
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4042ms
415457
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e380000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1770ms
415458
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e390000'), "name"=>"Jerrell Konopelski"}] flags=[]
415459
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3155ms
415460
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e390000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1804ms
415461
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3a0000'), "name"=>"Reyes Harris"}] flags=[]
415462
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2933ms
415463
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1830ms
415464
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3b0000'), "name"=>"Deanna Haley"}] flags=[]
415465
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2945ms
415466
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1777ms
415467
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3c0000'), "name"=>"Conrad Wyman"}] flags=[]
415468
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
415469
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1478ms
415470
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3d0000'), "name"=>"Dr. Jordyn Shanahan"}] flags=[]
415471
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2291ms
415472
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1418ms
415473
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3e0000'), "name"=>"Liam Rowe"}] flags=[]
415474
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2098ms
415475
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1345ms
415476
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e3f0000'), "name"=>"Nina Kovacek Sr."}] flags=[]
415477
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2166ms
415478
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e3f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms
415479
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e400000'), "name"=>"Devon Luettgen II"}] flags=[]
415480
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2438ms
415481
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e400000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1407ms
415482
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e410000'), "name"=>"Marjolaine Davis Jr."}] flags=[]
415483
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2376ms
415484
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e410000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2575ms
415485
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e420000'), "name"=>"Terence D'Amore"}] flags=[]
415486
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3176ms
415487
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e420000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms
415488
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e430000'), "name"=>"Nils Hirthe"}] flags=[]
415489
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2836ms
415490
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e430000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2108ms
415491
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e440000'), "name"=>"Kyla Wehner"}] flags=[]
415492
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2839ms
415493
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e440000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2095ms
415494
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e450000'), "name"=>"Jameson Koepp IV"}] flags=[]
415495
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2767ms
415496
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e450000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2214ms
415497
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e460000'), "name"=>"Name Parker"}] flags=[]
415498
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
415499
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e460000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2061ms
415500
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e470000'), "name"=>"Alfredo Hirthe"}] flags=[]
415501
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
415502
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e470000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1379ms
415503
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e480000'), "name"=>"Evert Kohler"}] flags=[]
415504
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
415505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e480000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2305ms
415506
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e490000'), "name"=>"Tito Stark"}] flags=[]
415507
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2772ms
415508
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e490000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2085ms
415509
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4a0000'), "name"=>"Mrs. Tyreek Miller"}] flags=[]
415510
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
415511
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms
415512
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4b0000'), "name"=>"Marcella Schmeler"}] flags=[]
415513
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2987ms
415514
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2125ms
415515
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4c0000'), "name"=>"Monte Schmitt"}] flags=[]
415516
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2823ms
415517
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2091ms
415518
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4d0000'), "name"=>"Velda Lebsack"}] flags=[]
415519
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2788ms
415520
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2089ms
415521
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4e0000'), "name"=>"Benny Reichel"}] flags=[]
415522
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2781ms
415523
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2087ms
415524
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e4f0000'), "name"=>"Madge Wintheiser"}] flags=[]
415525
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2789ms
415526
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e4f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2098ms
415527
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e500000'), "name"=>"Rubie Lind"}] flags=[]
415528
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
415529
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e500000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2080ms
415530
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e510000'), "name"=>"Lee Johnson"}] flags=[]
415531
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
415532
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e510000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms
415533
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e520000'), "name"=>"Amely Morar Sr."}] flags=[]
415534
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2751ms
415535
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e520000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2139ms
415536
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e530000'), "name"=>"Amparo Medhurst"}] flags=[]
415537
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2813ms
415538
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e530000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms
415539
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e540000'), "name"=>"Vernon Grady"}] flags=[]
415540
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2497ms
415541
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e540000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms
415542
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e550000'), "name"=>"Bo Russel"}] flags=[]
415543
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms
415544
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e550000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2121ms
415545
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e560000'), "name"=>"Jarod Harris"}] flags=[]
415546
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms
415547
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e560000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2143ms
415548
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e570000'), "name"=>"Mellie Beatty MD"}] flags=[]
415549
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2827ms
415550
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e570000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2159ms
415551
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e580000'), "name"=>"Adeline Kihn"}] flags=[]
415552
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
415553
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e580000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2134ms
415554
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e590000'), "name"=>"Brenda Reichert III"}] flags=[]
415555
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2769ms
415556
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e590000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms
415557
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5a0000'), "name"=>"Dayana Gibson"}] flags=[]
415558
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2746ms
415559
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms
415560
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5b0000'), "name"=>"Mr. Isabelle Koss"}] flags=[]
415561
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2456ms
415562
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1632ms
415563
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5c0000'), "name"=>"Amira Hoeger"}] flags=[]
415564
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2138ms
415565
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1591ms
415566
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5d0000'), "name"=>"Nannie D'Amore PhD"}] flags=[]
415567
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2371ms
415568
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1571ms
415569
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5e0000'), "name"=>"Lester Klein"}] flags=[]
415570
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2593ms
415571
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1747ms
415572
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e5f0000'), "name"=>"Joshuah Dach"}] flags=[]
415573
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2337ms
415574
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e5f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1567ms
415575
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e600000'), "name"=>"Bulah Connelly IV"}] flags=[]
415576
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2359ms
415577
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e600000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1606ms
415578
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e610000'), "name"=>"Amaya Bernhard"}] flags=[]
415579
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2362ms
415580
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e610000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1589ms
415581
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e620000'), "name"=>"Jimmie Feeney Jr."}] flags=[]
415582
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2289ms
415583
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e620000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1565ms
415584
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e630000'), "name"=>"Laurie Parisian"}] flags=[]
415585
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 36.3149ms
415586
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e630000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2391ms
415587
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e640000'), "name"=>"Dasia Mraz"}] flags=[]
415588
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2786ms
415589
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e640000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1655ms
415590
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e650000'), "name"=>"Dr. Nigel Moore"}] flags=[]
415591
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2421ms
415592
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e650000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms
415593
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e660000'), "name"=>"Garrett Johnson"}] flags=[]
415594
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2318ms
415595
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e660000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1613ms
415596
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e670000'), "name"=>"Junius White"}] flags=[]
415597
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2334ms
415598
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e670000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1629ms
415599
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e680000'), "name"=>"Ms. Hattie Mueller"}] flags=[]
415600
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2295ms
415601
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e680000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1615ms
415602
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e690000'), "name"=>"Jakayla Lubowitz"}] flags=[]
415603
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2299ms
415604
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e690000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1581ms
415605
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6a0000'), "name"=>"Micah Sanford"}] flags=[]
415606
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2240ms
415607
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1602ms
415608
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6b0000'), "name"=>"Jimmie Johns"}] flags=[]
415609
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2266ms
415610
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1560ms
415611
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6c0000'), "name"=>"Miss Floy McDermott"}] flags=[]
415612
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2243ms
415613
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1583ms
415614
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6d0000'), "name"=>"Aletha Pfeffer V"}] flags=[]
415615
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2288ms
415616
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1664ms
415617
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6e0000'), "name"=>"Ms. Arely Tillman"}] flags=[]
415618
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2834ms
415619
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2180ms
415620
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e6f0000'), "name"=>"Amparo Douglas"}] flags=[]
415621
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2829ms
415622
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e6f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2140ms
415623
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e700000'), "name"=>"Delbert Carroll"}] flags=[]
415624
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2928ms
415625
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e700000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2147ms
415626
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e710000'), "name"=>"Annamae Botsford"}] flags=[]
415627
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms
415628
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e710000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2144ms
415629
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e720000'), "name"=>"Pamela Buckridge"}] flags=[]
415630
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2841ms
415631
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e720000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2107ms
415632
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e730000'), "name"=>"Mrs. Sadie McDermott"}] flags=[]
415633
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2768ms
415634
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e730000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2165ms
415635
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e740000'), "name"=>"Estel Kertzmann"}] flags=[]
415636
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
415637
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e740000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2154ms
415638
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e750000'), "name"=>"Miguel Luettgen"}] flags=[]
415639
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2796ms
415640
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e750000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms
415641
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e760000'), "name"=>"Dorothea White IV"}] flags=[]
415642
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2854ms
415643
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e760000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms
415644
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e770000'), "name"=>"Misty Bins"}] flags=[]
415645
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2801ms
415646
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e770000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2277ms
415647
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e780000'), "name"=>"Brando Kilback"}] flags=[]
415648
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2807ms
415649
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e780000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms
415650
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e790000'), "name"=>"Magdalena Bartoletti"}] flags=[]
415651
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
415652
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e790000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2306ms
415653
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7a0000'), "name"=>"Avery Pollich V"}] flags=[]
415654
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2809ms
415655
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2417ms
415656
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7b0000'), "name"=>"Glennie Olson"}] flags=[]
415657
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms
415658
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2271ms
415659
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7c0000'), "name"=>"Mrs. Keely Goyette"}] flags=[]
415660
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2833ms
415661
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2254ms
415662
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7d0000'), "name"=>"Ms. Johnny Hudson"}] flags=[]
415663
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2766ms
415664
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms
415665
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7e0000'), "name"=>"Tyshawn Beahan"}] flags=[]
415666
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2761ms
415667
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms
415668
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e7f0000'), "name"=>"Mr. Immanuel Gleichner"}] flags=[]
415669
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
415670
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e7f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms
415671
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e800000'), "name"=>"Ignatius Kirlin"}] flags=[]
415672
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
415673
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e800000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2292ms
415674
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e810000'), "name"=>"Miss Carlotta Rohan"}] flags=[]
415675
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2780ms
415676
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e810000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2268ms
415677
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e820000'), "name"=>"Kaylin Will"}] flags=[]
415678
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2968ms
415679
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e820000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2285ms
415680
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e830000'), "name"=>"Dena Conroy"}] flags=[]
415681
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2804ms
415682
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e830000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2272ms
415683
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e840000'), "name"=>"Baylee Walker"}] flags=[]
415684
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
415685
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e840000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2296ms
415686
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e850000'), "name"=>"Miss Mavis Waelchi"}] flags=[]
415687
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2818ms
415688
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e850000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2282ms
415689
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e860000'), "name"=>"Jaycee Larkin"}] flags=[]
415690
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
415691
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e860000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2316ms
415692
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e870000'), "name"=>"Ms. Dannie Ortiz"}] flags=[]
415693
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2897ms
415694
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e870000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2297ms
415695
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e880000'), "name"=>"Clemmie Rau"}] flags=[]
415696
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2819ms
415697
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e880000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2290ms
415698
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e890000'), "name"=>"Elwin Wintheiser"}] flags=[]
415699
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2802ms
415700
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e890000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2325ms
415701
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8a0000'), "name"=>"Greta Ankunding"}] flags=[]
415702
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2843ms
415703
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2295ms
415704
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8b0000'), "name"=>"Onie Schimmel"}] flags=[]
415705
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2845ms
415706
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms
415707
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8c0000'), "name"=>"Rahsaan Carter DVM"}] flags=[]
415708
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2909ms
415709
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2315ms
415710
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8d0000'), "name"=>"Bernadine Rempel"}] flags=[]
415711
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2850ms
415712
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2302ms
415713
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8e0000'), "name"=>"Cristal Klein"}] flags=[]
415714
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2873ms
415715
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2289ms
415716
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e8f0000'), "name"=>"Anne Cummings"}] flags=[]
415717
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2857ms
415718
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e8f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2280ms
415719
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e900000'), "name"=>"Dario Paucek"}] flags=[]
415720
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2806ms
415721
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e900000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2300ms
415722
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e910000'), "name"=>"Miss Trinity Conroy"}] flags=[]
415723
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2879ms
415724
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e910000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2274ms
415725
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e920000'), "name"=>"Edyth Hand"}] flags=[]
415726
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2784ms
415727
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e920000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2281ms
415728
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e930000'), "name"=>"Alfredo Fahey"}] flags=[]
415729
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2797ms
415730
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e930000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2284ms
415731
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e940000'), "name"=>"Marques Rogahn"}] flags=[]
415732
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2825ms
415733
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e940000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2265ms
415734
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e950000'), "name"=>"Payton Schulist"}] flags=[]
415735
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms
415736
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e950000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2291ms
415737
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e960000'), "name"=>"Monty Hauck"}] flags=[]
415738
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2787ms
415739
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e960000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1690ms
415740
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e970000'), "name"=>"Bradley Leffler"}] flags=[]
415741
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2369ms
415742
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e970000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1677ms
415743
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1917ms
415744
+ Processing by CategoriesController#create as HTML
415745
+ Parameters: {"category"=>{"name"=>"Hello"}}
415746
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e980000'), "name"=>"Hello"}] flags=[]
415747
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4593ms
415748
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e980000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2090ms
415749
+ Redirected to http://test.host/categories/54b957b87735330c0e980000
415750
+ Completed 302 Found in 3ms
415751
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2153ms
415752
+ ---------------------------------------------
415753
+ CategoriesControllerTest: test_should_destroy
415754
+ ---------------------------------------------
415755
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e990000'), "name"=>"Ferne Yundt"}] flags=[]
415756
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3557ms
415757
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1988ms
415758
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.1920ms
415759
+ Processing by CategoriesController#destroy as HTML
415760
+ Parameters: {"id"=>"54b957b87735330c0e990000"}
415761
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0e990000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2988ms
415762
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0e990000')} flags=[:remove_first]
415763
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3186ms
415764
+ Redirected to http://test.host/categories
415765
+ Completed 302 Found in 3ms
415766
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2067ms
415767
+ ----------------------------------------------
415768
+ CategoriesControllerTest: test_should_get_edit
415769
+ ----------------------------------------------
415770
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e9a0000'), "name"=>"Dr. Maybelle Mayer"}] flags=[]
415771
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2927ms
415772
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2057ms
415773
+ Processing by CategoriesController#edit as HTML
415774
+ Parameters: {"id"=>"54b957b87735330c0e9a0000"}
415775
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2844ms
415776
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9a0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3144ms
415777
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (5.9ms)
415778
+ Completed 200 OK in 11ms (Views: 9.5ms)
415779
+ -----------------------------------------------
415780
+ CategoriesControllerTest: test_should_get_index
415781
+ -----------------------------------------------
415782
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e9b0000'), "name"=>"Lamont Kirlin"}] flags=[]
415783
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0008ms
415784
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9b0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2116ms
415785
+ Processing by CategoriesController#index as HTML
415786
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4226ms
415787
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[404738480685] runtime: 0.0933ms
415788
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2375ms
415789
+ Completed 200 OK in 16ms (Views: 15.2ms)
415790
+ -----------------------------------------------------
415791
+ CategoriesControllerTest: test_should_get_index_pages
415792
+ -----------------------------------------------------
415793
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e9c0000'), "name"=>"Madonna Hand"}] flags=[]
415794
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3158ms
415795
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9c0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1818ms
415796
+ Processing by CategoriesController#index as HTML
415797
+ Parameters: {"offset"=>"10", "limit"=>"10"}
415798
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={} flags=[] limit=10 skip=10 batch_size=nil fields=nil runtime: 0.3341ms
415799
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[404914692066] runtime: 0.0875ms
415800
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"categories", :query=>{}} runtime: 0.2349ms
415801
+ Completed 200 OK in 9ms (Views: 8.4ms)
415802
+ ---------------------------------------------
415803
+ CategoriesControllerTest: test_should_get_new
415804
+ ---------------------------------------------
415805
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e9d0000'), "name"=>"Dr. Bridgette Crona"}] flags=[]
415806
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3287ms
415807
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9d0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.1983ms
415808
+ Processing by CategoriesController#new as HTML
415809
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9e0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3484ms
415810
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (4.5ms)
415811
+ Completed 200 OK in 7ms (Views: 6.4ms)
415812
+ ----------------------------------------------
415813
+ CategoriesControllerTest: test_should_get_show
415814
+ ----------------------------------------------
415815
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0e9f0000'), "name"=>"Darrion Kuvalis"}] flags=[]
415816
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5010ms
415817
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2118ms
415818
+ Processing by CategoriesController#show as HTML
415819
+ Parameters: {"id"=>"54b957b87735330c0e9f0000"}
415820
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
415821
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0e9f0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3263ms
415822
+ Completed 200 OK in 5ms (Views: 3.3ms)
415823
+ --------------------------------------------
415824
+ CategoriesControllerTest: test_should_update
415825
+ --------------------------------------------
415826
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=categories documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ea00000'), "name"=>"Austyn Quigley IV"}] flags=[]
415827
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4497ms
415828
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2546ms
415829
+ Processing by CategoriesController#update as HTML
415830
+ Parameters: {"category"=>{"name"=>"Hello"}, "id"=>"54b957b87735330c0ea00000"}
415831
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3085ms
415832
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=categories selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea00000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
415833
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4525ms
415834
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"category_id"=>BSON::ObjectId('54b957b87735330c0ea00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2507ms
415835
+ Redirected to http://test.host/categories/54b957b87735330c0ea00000
415836
+ Completed 302 Found in 4ms
415837
+ ------------------------------------------
415838
+ CommentsControllerTest: test_should_create
415839
+ ------------------------------------------
415840
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ea10000'), "name"=>"Royce Bahringer", "reference"=>"Samanta Howell", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0ea20000'), "author_name"=>"Chaya Quitzon", "content"=>["Asperiores maxime porro nisi ratione. Reiciendis laboriosam quo laudantium quod sed. Vel voluptas exercitationem at non dolorem quae."]}]}] flags=[]
415841
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5430ms
415842
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2699ms
415843
+ Processing by CommentsController#create as HTML
415844
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b957b87735330c0ea10000"}
415845
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3441ms
415846
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea10000')} update={"$push"=>{"comments"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ea30000'), "author_name"=>"Hello"}}} flags=[]
415847
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.5190ms
415848
+ Redirected to http://test.host/products/54b957b87735330c0ea10000/comments/54b957b87735330c0ea30000
415849
+ Completed 302 Found in 6ms
415850
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea10000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2954ms
415851
+ -------------------------------------------
415852
+ CommentsControllerTest: test_should_destroy
415853
+ -------------------------------------------
415854
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ea40000'), "name"=>"Elyssa Torp", "reference"=>"Abe Gutmann", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0ea50000'), "author_name"=>"Shaniya Effertz Jr.", "content"=>["Possimus exercitationem corrupti suscipit esse labore quaerat ipsam. Ut quisquam sapiente magnam voluptas nostrum. Repellendus perferendis perspiciatis reiciendis aliquid. Autem qui deserunt accusamus quia."]}]}] flags=[]
415855
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4756ms
415856
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2467ms
415857
+ Processing by CommentsController#destroy as HTML
415858
+ Parameters: {"product_id"=>"54b957b87735330c0ea40000", "id"=>"54b957b87735330c0ea50000"}
415859
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3621ms
415860
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea40000')} update={"$pull"=>{"comments"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ea50000')}}} flags=[]
415861
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4514ms
415862
+ Redirected to http://test.host/products/54b957b87735330c0ea40000/comments
415863
+ Completed 302 Found in 3ms
415864
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2559ms
415865
+ --------------------------------------------
415866
+ CommentsControllerTest: test_should_get_edit
415867
+ --------------------------------------------
415868
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ea60000'), "name"=>"Kara Lowe", "reference"=>"Dulce Feeney", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0ea70000'), "author_name"=>"Dorris Fay PhD", "content"=>["Animi minima iusto quae suscipit vero. Eum fuga aliquam unde. Amet ullam sapiente non. Qui a quasi enim. Alias nihil excepturi consequuntur tempore dolor assumenda atque."]}]}] flags=[]
415869
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4217ms
415870
+ Processing by CommentsController#edit as HTML
415871
+ Parameters: {"product_id"=>"54b957b87735330c0ea60000", "id"=>"54b957b87735330c0ea70000"}
415872
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3347ms
415873
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.2ms)
415874
+ Completed 200 OK in 7ms (Views: 5.3ms)
415875
+ ---------------------------------------------
415876
+ CommentsControllerTest: test_should_get_index
415877
+ ---------------------------------------------
415878
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ea80000'), "name"=>"Natalie Steuber", "reference"=>"Keira Lockman", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0ea90000'), "author_name"=>"Cale Mayer", "content"=>["Consequuntur et enim autem possimus. Qui illo eum porro sit nihil ullam. Odio sit corrupti. Deleniti ipsam amet dolorem enim id architecto consequuntur. Aut deserunt debitis qui quibusdam sit molestiae."]}]}] flags=[]
415879
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5428ms
415880
+ Processing by CommentsController#index as HTML
415881
+ Parameters: {"product_id"=>"54b957b87735330c0ea80000"}
415882
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ea80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3798ms
415883
+ Completed 200 OK in 5ms (Views: 3.1ms)
415884
+ --------------------------------------------------
415885
+ CommentsControllerTest: test_should_get_json_index
415886
+ --------------------------------------------------
415887
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eaa0000'), "name"=>"Sydnee McDermott", "reference"=>"Otho Huel", "quantity"=>8, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0eab0000'), "author_name"=>"Gust Dibbert", "content"=>["Deserunt ut impedit omnis eaque illo. Cupiditate et aperiam. Dolor qui repellat et vitae veritatis. Est earum vitae."]}]}] flags=[]
415888
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms
415889
+ Processing by CommentsController#index as JSON
415890
+ Parameters: {"product_id"=>"54b957b87735330c0eaa0000"}
415891
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eaa0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3961ms
415892
+ Completed 200 OK in 2ms (Views: 0.1ms)
415893
+ -------------------------------------------------
415894
+ CommentsControllerTest: test_should_get_json_show
415895
+ -------------------------------------------------
415896
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eac0000'), "name"=>"Justine Ritchie", "reference"=>"Libbie Von", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0ead0000'), "author_name"=>"Lauren Ruecker V", "content"=>["Dolores delectus sunt non consequuntur tempora exercitationem aut. Explicabo beatae et id dolorum deleniti quos fugiat. Vitae omnis soluta. Recusandae doloribus deserunt et eos."]}]}] flags=[]
415897
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4812ms
415898
+ Processing by CommentsController#show as JSON
415899
+ Parameters: {"product_id"=>"54b957b87735330c0eac0000", "id"=>"54b957b87735330c0ead0000"}
415900
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eac0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3489ms
415901
+ Completed 200 OK in 2ms (Views: 0.2ms)
415902
+ -------------------------------------------
415903
+ CommentsControllerTest: test_should_get_new
415904
+ -------------------------------------------
415905
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eae0000'), "name"=>"Dejuan Bergstrom", "reference"=>"Ms. Aliyah Bahringer", "quantity"=>4, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0eaf0000'), "author_name"=>"Buddy Smith", "content"=>["Et esse non quae fugit. Libero cum corporis numquam quia aperiam laboriosam. Atque pariatur deserunt aut nihil totam. Itaque architecto et amet. Et quod sint temporibus at sapiente voluptatem."]}]}] flags=[]
415906
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4648ms
415907
+ Processing by CommentsController#new as HTML
415908
+ Parameters: {"product_id"=>"54b957b87735330c0eae0000"}
415909
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eae0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3461ms
415910
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
415911
+ Completed 200 OK in 5ms (Views: 3.6ms)
415912
+ --------------------------------------------
415913
+ CommentsControllerTest: test_should_get_show
415914
+ --------------------------------------------
415915
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb00000'), "name"=>"Edgardo Crooks", "reference"=>"Reina Mante", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0eb10000'), "author_name"=>"Natalia Vandervort", "content"=>["Harum eum voluptates. Culpa ad sed praesentium quis numquam voluptatem. Quaerat non architecto reiciendis recusandae. Nihil enim nesciunt molestias tenetur mollitia asperiores ipsum."]}]}] flags=[]
415916
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5322ms
415917
+ Processing by CommentsController#show as HTML
415918
+ Parameters: {"product_id"=>"54b957b87735330c0eb00000", "id"=>"54b957b87735330c0eb10000"}
415919
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb00000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3949ms
415920
+ Completed 200 OK in 5ms (Views: 2.6ms)
415921
+ ------------------------------------------
415922
+ CommentsControllerTest: test_should_update
415923
+ ------------------------------------------
415924
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb20000'), "name"=>"Lazaro Feest", "reference"=>"Eleazar Hagenes", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b957b87735330c0eb30000'), "author_name"=>"Mrs. Willard Metz", "content"=>["Quo qui sed sapiente. Qui voluptas beatae doloribus eos. Aspernatur nulla corrupti ut harum."]}]}] flags=[]
415925
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5228ms
415926
+ Processing by CommentsController#update as HTML
415927
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b957b87735330c0eb30000", "product_id"=>"54b957b87735330c0eb20000"}
415928
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms
415929
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb20000'), "comments._id"=>BSON::ObjectId('54b957b87735330c0eb30000')} update={"$set"=>{"comments.$.author_name"=>"World"}} flags=[]
415930
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6377ms
415931
+ Redirected to http://test.host/products/54b957b87735330c0eb20000/comments/54b957b87735330c0eb30000
415932
+ Completed 302 Found in 6ms
415933
+ -----------------------------------------------------
415934
+ Iord::GenericControllerTest: test_admin_should_create
415935
+ -----------------------------------------------------
415936
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb40000'), "firstname"=>"Javier", "lastname"=>"Funk"}] flags=[]
415937
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5720ms
415938
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2269ms
415939
+ Processing by Iord::GenericController#create as HTML
415940
+ Parameters: {"client"=>{"firstname"=>"Hello"}}
415941
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb50000'), "firstname"=>"Hello"}] flags=[]
415942
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4334ms
415943
+ Redirected to http://test.host/admin/clients/54b957b87735330c0eb50000
415944
+ Completed 302 Found in 2ms
415945
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2227ms
415946
+ ------------------------------------------------------
415947
+ Iord::GenericControllerTest: test_admin_should_destroy
415948
+ ------------------------------------------------------
415949
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb60000'), "firstname"=>"Muhammad", "lastname"=>"Sporer"}] flags=[]
415950
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3879ms
415951
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1738ms
415952
+ Processing by Iord::GenericController#destroy as HTML
415953
+ Parameters: {"id"=>"54b957b87735330c0eb60000"}
415954
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3349ms
415955
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb60000')} flags=[:remove_first]
415956
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 2.6837ms
415957
+ Redirected to http://test.host/admin/clients
415958
+ Completed 302 Found in 5ms
415959
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2281ms
415960
+ -------------------------------------------------------
415961
+ Iord::GenericControllerTest: test_admin_should_get_edit
415962
+ -------------------------------------------------------
415963
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb70000'), "firstname"=>"Deanna", "lastname"=>"Kassulke"}] flags=[]
415964
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3440ms
415965
+ Processing by Iord::GenericController#edit as HTML
415966
+ Parameters: {"id"=>"54b957b87735330c0eb70000"}
415967
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0eb70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
415968
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.6ms)
415969
+ Completed 200 OK in 8ms (Views: 6.4ms)
415970
+ --------------------------------------------------------
415971
+ Iord::GenericControllerTest: test_admin_should_get_index
415972
+ --------------------------------------------------------
415973
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb80000'), "firstname"=>"Eino", "lastname"=>"Mitchell"}] flags=[]
415974
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5230ms
415975
+ Processing by Iord::GenericController#index as HTML
415976
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4263ms
415977
+ Completed 200 OK in 6ms (Views: 5.0ms)
415978
+ ------------------------------------------------------
415979
+ Iord::GenericControllerTest: test_admin_should_get_new
415980
+ ------------------------------------------------------
415981
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eb90000'), "firstname"=>"Aliyah", "lastname"=>"Waters"}] flags=[]
415982
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5515ms
415983
+ Processing by Iord::GenericController#new as HTML
415984
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
415985
+ Completed 200 OK in 5ms (Views: 4.3ms)
415986
+ -------------------------------------------------------
415987
+ Iord::GenericControllerTest: test_admin_should_get_show
415988
+ -------------------------------------------------------
415989
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0eba0000'), "firstname"=>"Nya", "lastname"=>"Adams"}] flags=[]
415990
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5078ms
415991
+ Processing by Iord::GenericController#show as HTML
415992
+ Parameters: {"id"=>"54b957b87735330c0eba0000"}
415993
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0eba0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3167ms
415994
+ Completed 200 OK in 4ms (Views: 2.9ms)
415995
+ -----------------------------------------------------
415996
+ Iord::GenericControllerTest: test_admin_should_update
415997
+ -----------------------------------------------------
415998
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ebb0000'), "firstname"=>"Briana", "lastname"=>"Rice"}] flags=[]
415999
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5002ms
416000
+ Processing by Iord::GenericController#update as HTML
416001
+ Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b957b87735330c0ebb0000"}
416002
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ebb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4396ms
416003
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ebb0000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
416004
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4563ms
416005
+ Redirected to http://test.host/admin/clients/54b957b87735330c0ebb0000
416006
+ Completed 302 Found in 4ms
416007
+ -----------------------------------------------
416008
+ Iord::GenericControllerTest: test_should_create
416009
+ -----------------------------------------------
416010
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ebc0000'), "firstname"=>"Oscar", "lastname"=>"Stiedemann"}] flags=[]
416011
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3914ms
416012
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.1828ms
416013
+ Processing by Iord::GenericController#create as HTML
416014
+ Parameters: {"client"=>{"firstname"=>"Hello"}}
416015
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ebd0000'), "firstname"=>"Hello"}] flags=[]
416016
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5488ms
416017
+ Redirected to http://test.host/clients/54b957b87735330c0ebd0000
416018
+ Completed 302 Found in 2ms
416019
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2310ms
416020
+ ------------------------------------------------
416021
+ Iord::GenericControllerTest: test_should_destroy
416022
+ ------------------------------------------------
416023
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ebe0000'), "firstname"=>"Coty", "lastname"=>"Wiza"}] flags=[]
416024
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2999ms
416025
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2329ms
416026
+ Processing by Iord::GenericController#destroy as HTML
416027
+ Parameters: {"id"=>"54b957b87735330c0ebe0000"}
416028
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ebe0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3546ms
416029
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ebe0000')} flags=[:remove_first]
416030
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3358ms
416031
+ Redirected to http://test.host/clients
416032
+ Completed 302 Found in 2ms
416033
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"clients", :query=>{}} runtime: 0.2014ms
416034
+ -------------------------------------------------
416035
+ Iord::GenericControllerTest: test_should_get_edit
416036
+ -------------------------------------------------
416037
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ebf0000'), "firstname"=>"Tamara", "lastname"=>"Champlin"}] flags=[]
416038
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3464ms
416039
+ Processing by Iord::GenericController#edit as HTML
416040
+ Parameters: {"id"=>"54b957b87735330c0ebf0000"}
416041
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ebf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2974ms
416042
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
416043
+ Completed 200 OK in 5ms (Views: 3.5ms)
416044
+ --------------------------------------------------
416045
+ Iord::GenericControllerTest: test_should_get_index
416046
+ --------------------------------------------------
416047
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec00000'), "firstname"=>"Bette", "lastname"=>"Luettgen"}] flags=[]
416048
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.1550ms
416049
+ Processing by Iord::GenericController#index as HTML
416050
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4767ms
416051
+ Completed 200 OK in 8ms (Views: 7.6ms)
416052
+ ------------------------------------------------
416053
+ Iord::GenericControllerTest: test_should_get_new
416054
+ ------------------------------------------------
416055
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec10000'), "firstname"=>"Jed", "lastname"=>"Gerhold"}] flags=[]
416056
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4963ms
416057
+ Processing by Iord::GenericController#new as HTML
416058
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.5ms)
416059
+ Completed 200 OK in 4ms (Views: 3.2ms)
416060
+ -------------------------------------------------
416061
+ Iord::GenericControllerTest: test_should_get_show
416062
+ -------------------------------------------------
416063
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec20000'), "firstname"=>"Matilde", "lastname"=>"Hermann"}] flags=[]
416064
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5080ms
416065
+ Processing by Iord::GenericController#show as HTML
416066
+ Parameters: {"id"=>"54b957b87735330c0ec20000"}
416067
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3471ms
416068
+ Completed 200 OK in 4ms (Views: 2.2ms)
416069
+ -----------------------------------------------
416070
+ Iord::GenericControllerTest: test_should_update
416071
+ -----------------------------------------------
416072
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=clients documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec30000'), "firstname"=>"Heather", "lastname"=>"Turner"}] flags=[]
416073
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4654ms
416074
+ Processing by Iord::GenericController#update as HTML
416075
+ Parameters: {"client"=>{"firstname"=>"Hello"}, "id"=>"54b957b87735330c0ec30000"}
416076
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3463ms
416077
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=clients selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec30000')} update={"$set"=>{"firstname"=>"Hello"}} flags=[]
416078
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3881ms
416079
+ Redirected to http://test.host/clients/54b957b87735330c0ec30000
416080
+ Completed 302 Found in 3ms
416081
+ --------------------
416082
+ IordTest: test_truth
416083
+ --------------------
416084
+ ------------------------------------------
416085
+ ManagersControllerTest: test_should_create
416086
+ ------------------------------------------
416087
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec40000'), "name"=>"Dora Hudson", "reference"=>"Jaqueline Dibbert", "quantity"=>3, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ec50000'), "firstname"=>"Lamont", "lastname"=>"Hudson"}}] flags=[]
416088
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5403ms
416089
+ Processing by ManagersController#create as HTML
416090
+ Parameters: {"manager"=>{"firstname"=>"Hello"}, "product_id"=>"54b957b87735330c0ec40000"}
416091
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec40000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3401ms
416092
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec40000')} update={"$unset"=>{"manager"=>true}} flags=[]
416093
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4471ms
416094
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec40000')} update={"$set"=>{"manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ec60000'), "firstname"=>"Hello"}}} flags=[]
416095
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3286ms
416096
+ Redirected to http://test.host/products/54b957b87735330c0ec40000/manager
416097
+ Completed 302 Found in 5ms
416098
+ --------------------------------------------
416099
+ ManagersControllerTest: test_should_get_edit
416100
+ --------------------------------------------
416101
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec70000'), "name"=>"June Predovic", "reference"=>"Ms. Garrison Emard", "quantity"=>7, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ec80000'), "firstname"=>"Adrienne", "lastname"=>"Beatty"}}] flags=[]
416102
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4508ms
416103
+ Processing by ManagersController#edit as HTML
416104
+ Parameters: {"id"=>"54b957b87735330c0ec80000", "product_id"=>"54b957b87735330c0ec70000"}
416105
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3615ms
416106
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.4ms)
416107
+ Completed 200 OK in 7ms (Views: 5.6ms)
416108
+ -------------------------------------------
416109
+ ManagersControllerTest: test_should_get_new
416110
+ -------------------------------------------
416111
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ec90000'), "name"=>"Athena Auer", "reference"=>"Haley Schroeder II", "quantity"=>4, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0eca0000'), "firstname"=>"Merritt", "lastname"=>"Tremblay"}}] flags=[]
416112
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5888ms
416113
+ Processing by ManagersController#new as HTML
416114
+ Parameters: {"product_id"=>"54b957b87735330c0ec90000"}
416115
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ec90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3498ms
416116
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.8ms)
416117
+ Completed 200 OK in 5ms (Views: 3.7ms)
416118
+ --------------------------------------------
416119
+ ManagersControllerTest: test_should_get_show
416120
+ --------------------------------------------
416121
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b87735330c0ecb0000'), "name"=>"Miss Deangelo Price", "reference"=>"Eunice Ward PhD", "quantity"=>8, "manager"=>{"_id"=>BSON::ObjectId('54b957b87735330c0ecc0000'), "firstname"=>"Kaela", "lastname"=>"Kiehn"}}] flags=[]
416122
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5076ms
416123
+ Processing by ManagersController#show as HTML
416124
+ Parameters: {"id"=>"54b957b87735330c0ecc0000", "product_id"=>"54b957b87735330c0ecb0000"}
416125
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0ecb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms
416126
+ Completed 200 OK in 4ms (Views: 2.4ms)
416127
+ ------------------------------------------
416128
+ ManagersControllerTest: test_should_update
416129
+ ------------------------------------------
416130
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ecd0000'), "name"=>"Earnestine Lehner Jr.", "reference"=>"Natasha Spinka", "quantity"=>6, "manager"=>{"_id"=>BSON::ObjectId('54b957b97735330c0ece0000'), "firstname"=>"Cameron", "lastname"=>"Douglas"}}] flags=[]
416131
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5245ms
416132
+ Processing by ManagersController#update as HTML
416133
+ Parameters: {"id"=>"54b957b97735330c0ece0000", "manager"=>{"name"=>"Hello"}, "product_id"=>"54b957b97735330c0ecd0000"}
416134
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ecd0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3445ms
416135
+ Unpermitted parameters: name
416136
+ Redirected to http://test.host/products/54b957b97735330c0ecd0000/manager
416137
+ Completed 302 Found in 3ms
416138
+ ------------------------------------------
416139
+ ProductsControllerTest: test_should_create
416140
+ ------------------------------------------
416141
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ecf0000'), "name"=>"Wellington Dietrich", "reference"=>"Ms. Reina Bartell", "quantity"=>5}] flags=[]
416142
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6031ms
416143
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed00000'), "name"=>"Taylor Wiegand", "reference"=>"Talia Rippin", "quantity"=>0}] flags=[]
416144
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2917ms
416145
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed10000'), "name"=>"Gregoria Aufderhar", "reference"=>"Miss Betty Towne", "quantity"=>0}] flags=[]
416146
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3112ms
416147
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed20000'), "name"=>"Greg Stehr", "reference"=>"Ms. Maegan Pollich", "quantity"=>6}] flags=[]
416148
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3619ms
416149
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed30000'), "name"=>"Andy Yundt", "reference"=>"Kieran Breitenberg", "quantity"=>2}] flags=[]
416150
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3177ms
416151
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed40000'), "name"=>"Bradford Sporer", "reference"=>"Ed Parisian", "quantity"=>8}] flags=[]
416152
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2811ms
416153
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2022ms
416154
+ Processing by ProductsController#create as HTML
416155
+ Parameters: {"product"=>{"name"=>"Hello", "quantity"=>"10"}}
416156
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed50000'), "name"=>"Hello", "quantity"=>10}] flags=[]
416157
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4390ms
416158
+ Redirected to http://test.host/products/54b957b97735330c0ed50000
416159
+ Completed 302 Found in 3ms
416160
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2252ms
416161
+ -------------------------------------------
416162
+ ProductsControllerTest: test_should_destroy
416163
+ -------------------------------------------
416164
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed60000'), "name"=>"Ezequiel Corwin Jr.", "reference"=>"Fermin Mraz", "quantity"=>6}] flags=[]
416165
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4416ms
416166
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1945ms
416167
+ Processing by ProductsController#destroy as HTML
416168
+ Parameters: {"id"=>"54b957b97735330c0ed60000"}
416169
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ed60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3403ms
416170
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ed60000')} flags=[:remove_first]
416171
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3325ms
416172
+ Redirected to http://test.host/products
416173
+ Completed 302 Found in 2ms
416174
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2159ms
416175
+ --------------------------------------------
416176
+ ProductsControllerTest: test_should_get_edit
416177
+ --------------------------------------------
416178
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed70000'), "name"=>"Norma Maggio", "reference"=>"Miss Javon Lowe", "quantity"=>1}] flags=[]
416179
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3522ms
416180
+ Processing by ProductsController#edit as HTML
416181
+ Parameters: {"id"=>"54b957b97735330c0ed70000"}
416182
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ed70000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3866ms
416183
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (3.2ms)
416184
+ Completed 200 OK in 8ms (Views: 6.3ms)
416185
+ ---------------------------------------------
416186
+ ProductsControllerTest: test_should_get_index
416187
+ ---------------------------------------------
416188
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed80000'), "name"=>"Bella Barton", "reference"=>"Triston Torp", "quantity"=>8}] flags=[]
416189
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5276ms
416190
+ Processing by ProductsController#index as HTML
416191
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7029ms
416192
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379020302768] runtime: 0.0958ms
416193
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2769ms
416194
+ Completed 200 OK in 18ms (Views: 17.3ms)
416195
+ ----------------------------------------------------
416196
+ ProductsControllerTest: test_should_get_index_search
416197
+ ----------------------------------------------------
416198
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ed90000'), "name"=>"Aileen Beahan", "reference"=>"Chad Senger", "quantity"=>1}] flags=[]
416199
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4107ms
416200
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0eda0000'), "name"=>"HelloWorld", "reference"=>"Ms. Josh Lockman", "quantity"=>7}] flags=[]
416201
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4577ms
416202
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0edb0000'), "name"=>"value", "reference"=>"Kylie Schroeder", "quantity"=>4}] flags=[]
416203
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3534ms
416204
+ Processing by ProductsController#index as HTML
416205
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
416206
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5795ms
416207
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.4377ms
416208
+ Completed 200 OK in 6ms (Views: 5.3ms)
416209
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3938ms
416210
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>{"$regex"=>".*HelloWorld.*", "$options"=>"i"}}} runtime: 0.3587ms
416211
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1717ms
416212
+ Processing by ProductsController#index as HTML
416213
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
416214
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3494ms
416215
+ Completed 200 OK in 4ms (Views: 3.5ms)
416216
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.3339ms
416217
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{"name"=>"HelloWorld"}} runtime: 0.2941ms
416218
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1666ms
416219
+ Processing by ProductsController#index as HTML
416220
+ Parameters: {"q"=>"name", "v"=>"HelloWorld", "op"=>"like"}
416221
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"name"=>"HelloWorld"} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.3323ms
416222
+ Completed 200 OK in 4ms (Views: 3.3ms)
416223
+ ----------------------------------------------------
416224
+ ProductsControllerTest: test_should_get_index_sorted
416225
+ ----------------------------------------------------
416226
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0edc0000'), "name"=>"Mr. Abdul Walker", "reference"=>"Ms. Kiley Kirlin", "quantity"=>3}] flags=[]
416227
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4243ms
416228
+ Processing by ProductsController#index as HTML
416229
+ Parameters: {"order_by"=>"quantity"}
416230
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.0048ms
416231
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378415636731] runtime: 0.1133ms
416232
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2906ms
416233
+ Completed 200 OK in 17ms (Views: 16.3ms)
416234
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2271ms
416235
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8721ms
416236
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379121425242] runtime: 0.0568ms
416237
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7778ms
416238
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378454841180] runtime: 0.0490ms
416239
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7655ms
416240
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378694295040] runtime: 0.0482ms
416241
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7576ms
416242
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379770875965] runtime: 0.0619ms
416243
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7668ms
416244
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378088131055] runtime: 0.0492ms
416245
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7591ms
416246
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379275603517] runtime: 0.0500ms
416247
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7679ms
416248
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378363918769] runtime: 0.0510ms
416249
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7617ms
416250
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379401337043] runtime: 0.0505ms
416251
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7653ms
416252
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378660389775] runtime: 0.0476ms
416253
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7655ms
416254
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378694362889] runtime: 0.0506ms
416255
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7671ms
416256
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378861134199] runtime: 0.0502ms
416257
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7605ms
416258
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378959664504] runtime: 0.0504ms
416259
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7563ms
416260
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379203297012] runtime: 0.0504ms
416261
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7599ms
416262
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378312520090] runtime: 0.0495ms
416263
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7304ms
416264
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378794116049] runtime: 0.0479ms
416265
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7545ms
416266
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378070284992] runtime: 0.0508ms
416267
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7653ms
416268
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379911451741] runtime: 32.8638ms
416269
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 3.1733ms
416270
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378338556265] runtime: 0.0996ms
416271
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.9175ms
416272
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378954108260] runtime: 0.0542ms
416273
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms
416274
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378896062579] runtime: 0.0533ms
416275
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8016ms
416276
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379462392972] runtime: 0.0523ms
416277
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7940ms
416278
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379319783843] runtime: 0.0513ms
416279
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7311ms
416280
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378164900109] runtime: 0.0503ms
416281
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5967ms
416282
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380051768434] runtime: 0.0508ms
416283
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5849ms
416284
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378462038937] runtime: 0.0500ms
416285
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms
416286
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379906970736] runtime: 0.0503ms
416287
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5878ms
416288
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379765762531] runtime: 0.0485ms
416289
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5756ms
416290
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378603375292] runtime: 0.0485ms
416291
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5746ms
416292
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378026125654] runtime: 0.0482ms
416293
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5869ms
416294
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379252221553] runtime: 0.0497ms
416295
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5711ms
416296
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379227315333] runtime: 0.0504ms
416297
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5837ms
416298
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379121807269] runtime: 0.0493ms
416299
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5880ms
416300
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379464886279] runtime: 0.0494ms
416301
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5427ms
416302
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379670269795] runtime: 0.0491ms
416303
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5374ms
416304
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380082218641] runtime: 0.0508ms
416305
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5380ms
416306
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379679209574] runtime: 0.0513ms
416307
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5345ms
416308
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378856208933] runtime: 0.0495ms
416309
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5439ms
416310
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379172621411] runtime: 0.0497ms
416311
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5311ms
416312
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379664233746] runtime: 0.0495ms
416313
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms
416314
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378576229892] runtime: 0.0493ms
416315
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5441ms
416316
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379452606319] runtime: 0.0504ms
416317
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5319ms
416318
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379951728700] runtime: 0.0491ms
416319
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5381ms
416320
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378241141527] runtime: 0.0496ms
416321
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5332ms
416322
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378001779192] runtime: 0.0511ms
416323
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5506ms
416324
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379063521021] runtime: 0.0510ms
416325
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5049ms
416326
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378716048471] runtime: 0.0508ms
416327
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5062ms
416328
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379365855124] runtime: 0.0496ms
416329
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5040ms
416330
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378399148731] runtime: 0.0489ms
416331
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5104ms
416332
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378864069291] runtime: 0.0493ms
416333
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5070ms
416334
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378068223689] runtime: 0.0502ms
416335
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5093ms
416336
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378342728353] runtime: 0.0494ms
416337
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5062ms
416338
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378849132503] runtime: 0.0501ms
416339
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5066ms
416340
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379906429035] runtime: 0.0499ms
416341
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms
416342
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379960277290] runtime: 0.0495ms
416343
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5058ms
416344
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379052012429] runtime: 0.0497ms
416345
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5355ms
416346
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378560325685] runtime: 0.0514ms
416347
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms
416348
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378639996776] runtime: 0.0504ms
416349
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5324ms
416350
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379874285501] runtime: 0.0502ms
416351
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5039ms
416352
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378608262307] runtime: 0.0490ms
416353
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5030ms
416354
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379500146127] runtime: 0.0503ms
416355
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5028ms
416356
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378263714127] runtime: 0.0491ms
416357
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5067ms
416358
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379246918853] runtime: 0.0496ms
416359
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5015ms
416360
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378335665022] runtime: 0.0487ms
416361
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5020ms
416362
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379963595446] runtime: 0.0499ms
416363
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5054ms
416364
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379370051915] runtime: 0.0495ms
416365
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5374ms
416366
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378451526044] runtime: 0.0494ms
416367
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5036ms
416368
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379914134182] runtime: 0.0488ms
416369
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5276ms
416370
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379003407214] runtime: 0.0501ms
416371
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5207ms
416372
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378649718831] runtime: 0.0502ms
416373
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5178ms
416374
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378156458107] runtime: 0.0496ms
416375
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5125ms
416376
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379333411635] runtime: 0.0497ms
416377
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5222ms
416378
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380034937959] runtime: 0.0488ms
416379
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5028ms
416380
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378283850363] runtime: 0.0493ms
416381
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5050ms
416382
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378319790615] runtime: 0.0500ms
416383
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5058ms
416384
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378017606284] runtime: 0.0478ms
416385
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5270ms
416386
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379036982612] runtime: 0.0487ms
416387
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4892ms
416388
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379688279430] runtime: 0.0495ms
416389
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4877ms
416390
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379607090734] runtime: 0.0489ms
416391
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4866ms
416392
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379186237027] runtime: 0.0489ms
416393
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5091ms
416394
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378433146338] runtime: 0.0496ms
416395
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4934ms
416396
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377982361730] runtime: 0.0500ms
416397
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4923ms
416398
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379438677866] runtime: 0.0504ms
416399
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4881ms
416400
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378076681174] runtime: 0.0489ms
416401
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4930ms
416402
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378375568973] runtime: 0.0491ms
416403
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4911ms
416404
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378233768161] runtime: 0.0487ms
416405
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4913ms
416406
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378995544171] runtime: 0.0482ms
416407
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4876ms
416408
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378902825698] runtime: 0.0489ms
416409
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5084ms
416410
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379446352178] runtime: 0.0492ms
416411
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4826ms
416412
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379517642891] runtime: 0.0494ms
416413
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4824ms
416414
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379172457736] runtime: 0.0477ms
416415
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4831ms
416416
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380066060222] runtime: 0.0490ms
416417
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5032ms
416418
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378963729267] runtime: 0.0491ms
416419
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4809ms
416420
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[380036983671] runtime: 0.0491ms
416421
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4828ms
416422
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379168027085] runtime: 0.0492ms
416423
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4806ms
416424
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379379110225] runtime: 0.0487ms
416425
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4874ms
416426
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379771354297] runtime: 0.0482ms
416427
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4827ms
416428
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378648904153] runtime: 0.0498ms
416429
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4802ms
416430
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378069778346] runtime: 0.0481ms
416431
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4816ms
416432
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379511631220] runtime: 0.0484ms
416433
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4905ms
416434
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378613208429] runtime: 0.0483ms
416435
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5078ms
416436
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378759884126] runtime: 0.0490ms
416437
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4769ms
416438
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379586858144] runtime: 0.0473ms
416439
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4754ms
416440
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377999868349] runtime: 0.0478ms
416441
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6431ms
416442
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378003492092] runtime: 0.0763ms
416443
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6656ms
416444
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378419995175] runtime: 0.0755ms
416445
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6893ms
416446
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379646339897] runtime: 0.0769ms
416447
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6640ms
416448
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378029363128] runtime: 0.0779ms
416449
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6648ms
416450
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378409355169] runtime: 0.0763ms
416451
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6621ms
416452
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379196528898] runtime: 0.0777ms
416453
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6624ms
416454
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379403535779] runtime: 0.0759ms
416455
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms
416456
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378501542738] runtime: 0.0762ms
416457
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6905ms
416458
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379584803186] runtime: 0.0752ms
416459
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6411ms
416460
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378655777689] runtime: 0.0745ms
416461
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms
416462
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378835640467] runtime: 0.0737ms
416463
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6527ms
416464
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379870604521] runtime: 0.0720ms
416465
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6406ms
416466
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378775014459] runtime: 0.0723ms
416467
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6877ms
416468
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378971412945] runtime: 0.0742ms
416469
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6651ms
416470
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378476183412] runtime: 0.0735ms
416471
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6158ms
416472
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378083177063] runtime: 0.0532ms
416473
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6578ms
416474
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378881050488] runtime: 0.0736ms
416475
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6524ms
416476
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379336190490] runtime: 0.0739ms
416477
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms
416478
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378806891703] runtime: 0.0738ms
416479
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6446ms
416480
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378740025550] runtime: 0.0738ms
416481
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6244ms
416482
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379939242916] runtime: 0.0707ms
416483
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6227ms
416484
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379240813888] runtime: 0.0703ms
416485
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6312ms
416486
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379257443243] runtime: 0.0699ms
416487
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6241ms
416488
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378797223565] runtime: 0.0697ms
416489
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6296ms
416490
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379609363080] runtime: 0.0727ms
416491
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6389ms
416492
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378796147218] runtime: 0.0697ms
416493
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6398ms
416494
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379925926898] runtime: 0.0696ms
416495
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms
416496
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378755775826] runtime: 0.0734ms
416497
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6289ms
416498
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379765843291] runtime: 0.0668ms
416499
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6133ms
416500
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379265411106] runtime: 0.0659ms
416501
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6131ms
416502
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378150397036] runtime: 0.0666ms
416503
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6111ms
416504
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378091976867] runtime: 0.0705ms
416505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6117ms
416506
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378308485316] runtime: 0.0659ms
416507
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6143ms
416508
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379866587520] runtime: 0.0664ms
416509
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6342ms
416510
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379355188626] runtime: 0.0668ms
416511
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6273ms
416512
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378340748283] runtime: 0.0809ms
416513
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6159ms
416514
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379948703396] runtime: 0.0665ms
416515
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6303ms
416516
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379997253075] runtime: 0.0642ms
416517
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6139ms
416518
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379892041519] runtime: 0.0642ms
416519
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6112ms
416520
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379956590797] runtime: 0.0750ms
416521
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6080ms
416522
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379411695794] runtime: 0.0650ms
416523
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms
416524
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378493108418] runtime: 0.0637ms
416525
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6101ms
416526
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378884592108] runtime: 0.0626ms
416527
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6152ms
416528
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378691120344] runtime: 0.0635ms
416529
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6148ms
416530
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378402211717] runtime: 0.0637ms
416531
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6163ms
416532
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379818926215] runtime: 0.0632ms
416533
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6084ms
416534
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378381294533] runtime: 0.0609ms
416535
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5960ms
416536
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378800549144] runtime: 0.0610ms
416537
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5902ms
416538
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378306871162] runtime: 0.0607ms
416539
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5855ms
416540
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379073698238] runtime: 0.0604ms
416541
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5916ms
416542
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378380776537] runtime: 0.0608ms
416543
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5937ms
416544
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378065270532] runtime: 0.0601ms
416545
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5834ms
416546
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378636631007] runtime: 0.0680ms
416547
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7314ms
416548
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378073405208] runtime: 0.0622ms
416549
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7382ms
416550
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378428328224] runtime: 0.0606ms
416551
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7432ms
416552
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379908249521] runtime: 0.0607ms
416553
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7186ms
416554
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379555021924] runtime: 0.0566ms
416555
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7259ms
416556
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[378680430092] runtime: 0.0594ms
416557
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7285ms
416558
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379986091334] runtime: 0.0665ms
416559
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{"quantity"=>1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7368ms
416560
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[379336211381] runtime: 0.0589ms
416561
+ -----------------------------------------------
416562
+ ProductsControllerTest: test_should_get_iterate
416563
+ -----------------------------------------------
416564
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0edd0000'), "name"=>"Vivienne Turner", "reference"=>"Kyra Weber", "quantity"=>8}] flags=[]
416565
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3639ms
416566
+ Processing by ProductsController#iterate as HTML
416567
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3039ms
416568
+ Completed 200 OK in 5ms (Views: 4.0ms)
416569
+ --------------------------------------------------
416570
+ ProductsControllerTest: test_should_get_json_index
416571
+ --------------------------------------------------
416572
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ede0000'), "name"=>"Ms. Hadley Conn", "reference"=>"Leta Spinka", "quantity"=>1}] flags=[]
416573
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4828ms
416574
+ Processing by ProductsController#index as JSON
416575
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6003ms
416576
+ MOPED: 127.0.0.1:27017 KILL_CURSORS cursor_ids=[377999132851] runtime: 0.0681ms
416577
+ Completed 200 OK in 5ms (Views: 1.6ms)
416578
+ -------------------------------------------------
416579
+ ProductsControllerTest: test_should_get_json_show
416580
+ -------------------------------------------------
416581
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0edf0000'), "name"=>"Kay Watsica", "reference"=>"Leila Kuhic", "quantity"=>0}] flags=[]
416582
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3737ms
416583
+ Processing by ProductsController#show as JSON
416584
+ Parameters: {"id"=>"54b957b97735330c0edf0000"}
416585
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0edf0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3017ms
416586
+ Completed 200 OK in 2ms (Views: 0.2ms)
416587
+ -------------------------------------------
416588
+ ProductsControllerTest: test_should_get_new
416589
+ -------------------------------------------
416590
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee00000'), "name"=>"Dillon McDermott", "reference"=>"Osbaldo Sanford", "quantity"=>8}] flags=[]
416591
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4122ms
416592
+ Processing by ProductsController#new as HTML
416593
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.8ms)
416594
+ Completed 200 OK in 6ms (Views: 5.0ms)
416595
+ --------------------------------------------
416596
+ ProductsControllerTest: test_should_get_show
416597
+ --------------------------------------------
416598
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee20000'), "name"=>"Mr. Brendon Yost", "reference"=>"Ms. Petra Labadie", "quantity"=>7}] flags=[]
416599
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4392ms
416600
+ Processing by ProductsController#show as HTML
416601
+ Parameters: {"id"=>"54b957b97735330c0ee20000"}
416602
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ee20000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3617ms
416603
+ Completed 200 OK in 6ms (Views: 4.4ms)
416604
+ ---------------------------------------------------------------
416605
+ ProductsControllerTest: test_should_iterate_edit_first_and_next
416606
+ ---------------------------------------------------------------
416607
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee30000'), "name"=>"Henri Schinner", "reference"=>"Mrs. Nelson Nitzsche", "quantity"=>3}] flags=[]
416608
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4456ms
416609
+ Processing by ProductsController#iterate as HTML
416610
+ Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}
416611
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2771ms
416612
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3012ms
416613
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b87735330c0e060000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
416614
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3089ms
416615
+ Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=1
416616
+ Completed 302 Found in 4ms
416617
+ Processing by ProductsController#iterate as HTML
416618
+ Parameters: {"pos"=>"0", "edit"=>"true", "product"=>{"name"=>"Hello"}, "go_to"=>"http://test.host/products/iterate?edit=true&limit=25&pos=1"}
416619
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3136ms
416620
+ Redirected to http://test.host/products/iterate?edit=true&limit=25&pos=0
416621
+ Completed 302 Found in 2ms
416622
+ ------------------------------------------------------
416623
+ ProductsControllerTest: test_should_iterate_first_edit
416624
+ ------------------------------------------------------
416625
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee40000'), "name"=>"Quentin Stanton", "reference"=>"Miss Virginia Hane", "quantity"=>3}] flags=[]
416626
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3183ms
416627
+ Processing by ProductsController#iterate as HTML
416628
+ Parameters: {"pos"=>"0", "edit"=>true}
416629
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3026ms
416630
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.2974ms
416631
+ Completed 200 OK in 4ms (Views: 2.7ms)
416632
+ ------------------------------------------------------
416633
+ ProductsControllerTest: test_should_iterate_first_show
416634
+ ------------------------------------------------------
416635
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee50000'), "name"=>"Ms. Hulda Bailey", "reference"=>"Rocio Lesch I", "quantity"=>4}] flags=[]
416636
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.6005ms
416637
+ Processing by ProductsController#iterate as HTML
416638
+ Parameters: {"pos"=>"0"}
416639
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.3209ms
416640
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"$query"=>{}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3611ms
416641
+ Completed 200 OK in 5ms (Views: 2.7ms)
416642
+ -----------------------------------------------
416643
+ ProductsControllerTest: test_should_json_create
416644
+ -----------------------------------------------
416645
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee60000'), "name"=>"Emmy D'Amore", "reference"=>"Rosamond Lindgren", "quantity"=>8}] flags=[]
416646
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
416647
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.1847ms
416648
+ Processing by ProductsController#create as JSON
416649
+ Parameters: {"product"=>{"name"=>"Hello"}}
416650
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee70000'), "name"=>"Hello"}] flags=[]
416651
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4644ms
416652
+ Completed 201 Created in 3ms (Views: 0.2ms)
416653
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"products", :query=>{}} runtime: 0.2680ms
416654
+ ------------------------------------------------
416655
+ ProductsControllerTest: test_should_json_destroy
416656
+ ------------------------------------------------
416657
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee80000'), "name"=>"Maryse Kohler Sr.", "reference"=>"Emmalee Wyman", "quantity"=>7}] flags=[]
416658
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3461ms
416659
+ Processing by ProductsController#destroy as JSON
416660
+ Parameters: {"id"=>"54b957b97735330c0ee80000"}
416661
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ee80000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3519ms
416662
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ee80000')} flags=[:remove_first]
416663
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2345ms
416664
+ Completed 200 OK in 2ms (Views: 0.1ms)
416665
+ ---------------------------------------------------
416666
+ ProductsControllerTest: test_should_json_not_create
416667
+ ---------------------------------------------------
416668
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ee90000'), "name"=>"Skyla Koelpin", "reference"=>"Alexie Grady Jr.", "quantity"=>5}] flags=[]
416669
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2639ms
416670
+ Processing by ProductsController#create as JSON
416671
+ Parameters: {"product"=>{"quantity"=>1}}
416672
+ Completed 422 Unprocessable Entity in 2ms (Views: 0.2ms)
416673
+ -----------------------------------------------
416674
+ ProductsControllerTest: test_should_json_update
416675
+ -----------------------------------------------
416676
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0eeb0000'), "name"=>"Sandrine Wolff PhD", "reference"=>"Hugh Tremblay", "quantity"=>3}] flags=[]
416677
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3739ms
416678
+ Processing by ProductsController#update as JSON
416679
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b957b97735330c0eeb0000"}
416680
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eeb0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2545ms
416681
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eeb0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
416682
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2743ms
416683
+ Completed 202 Accepted in 3ms (Views: 0.2ms)
416684
+ ------------------------------------------
416685
+ ProductsControllerTest: test_should_update
416686
+ ------------------------------------------
416687
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0eec0000'), "name"=>"Cecil Pfeffer", "reference"=>"Cathryn Pollich", "quantity"=>6}] flags=[]
416688
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2882ms
416689
+ Processing by ProductsController#update as HTML
416690
+ Parameters: {"product"=>{"name"=>"Hello"}, "id"=>"54b957b97735330c0eec0000"}
416691
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eec0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2473ms
416692
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eec0000')} update={"$set"=>{"name"=>"Hello"}} flags=[]
416693
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.2738ms
416694
+ Redirected to http://test.host/products/54b957b97735330c0eec0000
416695
+ Completed 302 Found in 3ms
416696
+ ---------------------------------------------
416697
+ SubcommentsControllerTest: test_should_create
416698
+ ---------------------------------------------
416699
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0eef0000'), "name"=>"Rosemarie Shanahan", "reference"=>"Ms. Erna Gutkowski", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0eed0000'), "author_name"=>"Cristobal Hackett DDS", "content"=>["Recusandae velit autem perferendis aut earum facere. Soluta unde voluptatibus amet cumque eius. Et repellat quia veritatis."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0eee0000'), "author_name"=>"Amir Dietrich", "content"=>["Rem quod dolores fugit ut incidunt. Dignissimos rerum sit qui laborum fugiat beatae. Exercitationem blanditiis at qui quasi earum omnis. Eos voluptatem tenetur assumenda."]}]}]}] flags=[]
416700
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4296ms
416701
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2283ms
416702
+ Processing by SubcommentsController#create as HTML
416703
+ Parameters: {"comment"=>{"author_name"=>"Hello"}, "product_id"=>"54b957b97735330c0eef0000", "comment_id"=>"54b957b97735330c0eed0000"}
416704
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3101ms
416705
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eef0000'), "comments._id"=>BSON::ObjectId('54b957b97735330c0eed0000')} update={"$push"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b957b97735330c0ef00000'), "author_name"=>"Hello"}}} flags=[]
416706
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4314ms
416707
+ Redirected to http://test.host/products/54b957b97735330c0eef0000/comments/54b957b97735330c0eed0000/comments/54b957b97735330c0ef00000
416708
+ Completed 302 Found in 4ms
416709
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eef0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2351ms
416710
+ ----------------------------------------------
416711
+ SubcommentsControllerTest: test_should_destroy
416712
+ ----------------------------------------------
416713
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ef30000'), "name"=>"Mathias Auer", "reference"=>"Lucio Schamberger", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef10000'), "author_name"=>"Jacklyn Hayes", "content"=>["Ut et adipisci. Voluptatum facere accusamus totam consequatur nobis ut. Sit error aut ullam voluptas. Officiis dolores nostrum iure et sit."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef20000'), "author_name"=>"Gideon Crona", "content"=>["Provident veniam quia quia quia. Ipsam sit ratione sed numquam saepe. Aperiam eum sit. Quis aut in blanditiis."]}]}]}] flags=[]
416714
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3794ms
416715
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2202ms
416716
+ Processing by SubcommentsController#destroy as HTML
416717
+ Parameters: {"product_id"=>"54b957b97735330c0ef30000", "comment_id"=>"54b957b97735330c0ef10000", "id"=>"54b957b97735330c0ef20000"}
416718
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2583ms
416719
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef30000'), "comments._id"=>BSON::ObjectId('54b957b97735330c0ef10000')} update={"$pull"=>{"comments.$.comments"=>{"_id"=>BSON::ObjectId('54b957b97735330c0ef20000')}}} flags=[]
416720
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3940ms
416721
+ Redirected to http://test.host/products/54b957b97735330c0ef30000/comments/54b957b97735330c0ef10000/comments
416722
+ Completed 302 Found in 3ms
416723
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef30000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2038ms
416724
+ -----------------------------------------------
416725
+ SubcommentsControllerTest: test_should_get_edit
416726
+ -----------------------------------------------
416727
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ef60000'), "name"=>"Hermann Pacocha", "reference"=>"Gia Brekke II", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef40000'), "author_name"=>"Dr. Elva Daugherty", "content"=>["Quo aliquid ipsum qui et odit. Eum quae similique. Laboriosam molestias voluptas quisquam est praesentium."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef50000'), "author_name"=>"Vivian Lehner III", "content"=>["Consequatur ipsam eveniet sit et. Omnis id laudantium quibusdam magnam doloribus dolor. Rem minima nesciunt. Quia iure dolor voluptatibus nam quo."]}]}]}] flags=[]
416728
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3017ms
416729
+ Processing by SubcommentsController#edit as HTML
416730
+ Parameters: {"product_id"=>"54b957b97735330c0ef60000", "comment_id"=>"54b957b97735330c0ef40000", "id"=>"54b957b97735330c0ef50000"}
416731
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef60000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2634ms
416732
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.3ms)
416733
+ Completed 200 OK in 8ms (Views: 5.5ms)
416734
+ ------------------------------------------------
416735
+ SubcommentsControllerTest: test_should_get_index
416736
+ ------------------------------------------------
416737
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0ef90000'), "name"=>"Violette Crona", "reference"=>"Ms. Jessyca Heidenreich", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef70000'), "author_name"=>"Mr. Adolf Cronin", "content"=>["Necessitatibus culpa quia nemo minus enim. Sed ea maxime nulla qui. Quia molestias blanditiis excepturi velit officia quas dolor."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0ef80000'), "author_name"=>"Kirstin Hartmann", "content"=>["Laboriosam quibusdam voluptatum debitis rem autem. Ad unde quod ut qui sint sunt. Quod aliquam iste officia aut blanditiis. Accusantium qui sint laboriosam."]}]}]}] flags=[]
416738
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4520ms
416739
+ Processing by SubcommentsController#index as HTML
416740
+ Parameters: {"product_id"=>"54b957b97735330c0ef90000", "comment_id"=>"54b957b97735330c0ef70000"}
416741
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0ef90000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2901ms
416742
+ Completed 200 OK in 5ms (Views: 3.2ms)
416743
+ -----------------------------------------------------
416744
+ SubcommentsControllerTest: test_should_get_json_index
416745
+ -----------------------------------------------------
416746
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0efc0000'), "name"=>"Declan Kunde", "reference"=>"Mrs. Octavia Stoltenberg", "quantity"=>2, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0efa0000'), "author_name"=>"Bertha Yundt IV", "content"=>["Assumenda quas ut et totam et cupiditate quia. Consequatur quas omnis rerum ut. Est dignissimos eligendi iusto aliquid ratione eum id. Ea aut vel neque consequuntur vel."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0efb0000'), "author_name"=>"Preston Christiansen", "content"=>["Est ea fuga nihil tempora. Voluptatem quis a delectus illum. Quisquam qui fuga est enim. Numquam consectetur voluptatum minima. Id omnis adipisci."]}]}]}] flags=[]
416747
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4322ms
416748
+ Processing by SubcommentsController#index as JSON
416749
+ Parameters: {"product_id"=>"54b957b97735330c0efc0000", "comment_id"=>"54b957b97735330c0efa0000"}
416750
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0efc0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2831ms
416751
+ Completed 200 OK in 2ms (Views: 0.1ms)
416752
+ ----------------------------------------------------
416753
+ SubcommentsControllerTest: test_should_get_json_show
416754
+ ----------------------------------------------------
416755
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0eff0000'), "name"=>"Marco Kunze PhD", "reference"=>"Julio Nader", "quantity"=>0, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0efd0000'), "author_name"=>"Tatyana Roberts", "content"=>["Laboriosam error placeat. Vero est consequatur quibusdam. Est iste voluptatibus omnis consequatur voluptatem. Id repellat perferendis."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0efe0000'), "author_name"=>"Dr. Andre Hoppe", "content"=>["Dolore reiciendis quibusdam dolorem architecto sint. A ratione rerum vel distinctio consequatur quae. Delectus atque aut quod nesciunt debitis magnam voluptatum."]}]}]}] flags=[]
416756
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3697ms
416757
+ Processing by SubcommentsController#show as JSON
416758
+ Parameters: {"product_id"=>"54b957b97735330c0eff0000", "comment_id"=>"54b957b97735330c0efd0000", "id"=>"54b957b97735330c0efe0000"}
416759
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0eff0000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2873ms
416760
+ Completed 200 OK in 2ms (Views: 0.1ms)
416761
+ ----------------------------------------------
416762
+ SubcommentsControllerTest: test_should_get_new
416763
+ ----------------------------------------------
416764
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e020100'), "name"=>"Ms. Juliet Williamson", "reference"=>"Mrs. Carlee Koelpin", "quantity"=>1, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e000100'), "author_name"=>"Mrs. Herman Brown", "content"=>["Voluptas velit aliquid itaque iste adipisci dolores magnam. Aut natus est autem ipsum atque. Reiciendis numquam vel in repellendus facilis ab optio. Non error reiciendis quis hic dolores ad beatae."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e010100'), "author_name"=>"Mr. Pascale Feeney", "content"=>["Nesciunt fuga sapiente molestias vitae. Rerum nostrum sint culpa. Voluptatibus natus dolore et velit atque enim. Ad inventore eius. A aperiam asperiores et fugiat sed et."]}]}]}] flags=[]
416765
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 4.5222ms
416766
+ Processing by SubcommentsController#new as HTML
416767
+ Parameters: {"product_id"=>"54b957b97735330c0e020100", "comment_id"=>"54b957b97735330c0e000100"}
416768
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0e020100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3089ms
416769
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
416770
+ Completed 200 OK in 6ms (Views: 3.6ms)
416771
+ -----------------------------------------------
416772
+ SubcommentsControllerTest: test_should_get_show
416773
+ -----------------------------------------------
416774
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e050100'), "name"=>"Hershel Braun DDS", "reference"=>"Vernice Trantow", "quantity"=>7, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e030100'), "author_name"=>"Dr. Stella Schroeder", "content"=>["Architecto dolor reprehenderit est sunt praesentium sint. Minima sunt qui nihil voluptatem. At adipisci molestiae exercitationem in voluptatibus voluptatem. Deserunt amet sequi."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e040100'), "author_name"=>"Onie Hermiston", "content"=>["Magnam dolor et voluptatem nulla. Et quia qui quo esse impedit error voluptatem. Magnam beatae libero facere tempora et commodi quod. Ex aut accusamus vel aut eligendi."]}]}]}] flags=[]
416775
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5490ms
416776
+ Processing by SubcommentsController#show as HTML
416777
+ Parameters: {"product_id"=>"54b957b97735330c0e050100", "comment_id"=>"54b957b97735330c0e030100", "id"=>"54b957b97735330c0e040100"}
416778
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0e050100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3380ms
416779
+ Completed 200 OK in 5ms (Views: 2.7ms)
416780
+ ---------------------------------------------
416781
+ SubcommentsControllerTest: test_should_update
416782
+ ---------------------------------------------
416783
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=products documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e080100'), "name"=>"Madalyn Kreiger", "reference"=>"Ms. Barton Pfannerstill", "quantity"=>3, "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e060100'), "author_name"=>"Eldon King", "content"=>["In qui est omnis. Accusantium quibusdam et ratione ut sint deserunt. Eius quia aperiam et dolores qui praesentium dolores. Cupiditate quaerat nostrum laudantium similique nemo vel. Eos et sed accusantium qui dicta laborum."], "comments"=>[{"_id"=>BSON::ObjectId('54b957b97735330c0e070100'), "author_name"=>"Ashtyn Schaden", "content"=>["Enim eligendi soluta vero in. Provident at quia. Sunt velit itaque."]}]}]}] flags=[]
416784
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5465ms
416785
+ Processing by SubcommentsController#update as HTML
416786
+ Parameters: {"comment"=>{"author_name"=>"World"}, "id"=>"54b957b97735330c0e070100", "product_id"=>"54b957b97735330c0e080100", "comment_id"=>"54b957b97735330c0e060100"}
416787
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0e080100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3579ms
416788
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_test collection=products selector={"_id"=>BSON::ObjectId('54b957b97735330c0e080100'), "comments._id"=>BSON::ObjectId('54b957b97735330c0e060100'), "comments.0.comments._id"=>BSON::ObjectId('54b957b97735330c0e070100')} update={"$set"=>{"comments.0.comments.$.author_name"=>"World"}} flags=[]
416789
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.6728ms
416790
+ Redirected to http://test.host/products/54b957b97735330c0e080100/comments/54b957b97735330c0e060100/comments/54b957b97735330c0e070100
416791
+ Completed 302 Found in 6ms
416792
+ ---------------------------------------
416793
+ UsersControllerTest: test_should_create
416794
+ ---------------------------------------
416795
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e090100'), "firstname"=>"Mariela", "lastname"=>"Hickle"}] flags=[]
416796
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.5669ms
416797
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1981ms
416798
+ Processing by UsersController#create as HTML
416799
+ Parameters: {"user"=>{"name"=>"Hello"}}
416800
+ Unpermitted parameters: name
416801
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0a0100')}] flags=[]
416802
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4345ms
416803
+ Redirected to http://test.host/users/54b957b97735330c0e0a0100
416804
+ Completed 302 Found in 2ms
416805
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2196ms
416806
+ ----------------------------------------
416807
+ UsersControllerTest: test_should_destroy
416808
+ ----------------------------------------
416809
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0b0100'), "firstname"=>"Kraig", "lastname"=>"Langworth"}] flags=[]
416810
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3955ms
416811
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.1831ms
416812
+ Processing by UsersController#destroy as HTML
416813
+ Parameters: {"id"=>"54b957b97735330c0e0b0100"}
416814
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b97735330c0e0b0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3331ms
416815
+ MOPED: 127.0.0.1:27017 DELETE database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b97735330c0e0b0100')} flags=[:remove_first]
416816
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3346ms
416817
+ Redirected to http://test.host/users
416818
+ Completed 302 Found in 2ms
416819
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_test command={:count=>"admin_users", :query=>{}} runtime: 0.2017ms
416820
+ -----------------------------------------
416821
+ UsersControllerTest: test_should_get_edit
416822
+ -----------------------------------------
416823
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0c0100'), "firstname"=>"Amya", "lastname"=>"Boehm"}] flags=[]
416824
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3430ms
416825
+ Processing by UsersController#edit as HTML
416826
+ Parameters: {"id"=>"54b957b97735330c0e0c0100"}
416827
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b97735330c0e0c0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3112ms
416828
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (2.1ms)
416829
+ Completed 200 OK in 6ms (Views: 5.1ms)
416830
+ ------------------------------------------
416831
+ UsersControllerTest: test_should_get_index
416832
+ ------------------------------------------
416833
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0d0100'), "firstname"=>"Simone", "lastname"=>"Adams"}] flags=[]
416834
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
416835
+ Processing by UsersController#index as HTML
416836
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3814ms
416837
+ Completed 200 OK in 8ms (Views: 7.5ms)
416838
+ ----------------------------------------
416839
+ UsersControllerTest: test_should_get_new
416840
+ ----------------------------------------
416841
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0e0100'), "firstname"=>"Kaycee", "lastname"=>"Bins"}] flags=[]
416842
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 6.0327ms
416843
+ Processing by UsersController#new as HTML
416844
+ Rendered /home/geoffroy/projects/crealettres/iord/app/views/iord/_form.html.erb (1.7ms)
416845
+ Completed 200 OK in 4ms (Views: 3.5ms)
416846
+ -----------------------------------------
416847
+ UsersControllerTest: test_should_get_show
416848
+ -----------------------------------------
416849
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e0f0100'), "firstname"=>"Maiya", "lastname"=>"Batz"}] flags=[]
416850
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.4061ms
416851
+ Processing by UsersController#show as HTML
416852
+ Parameters: {"id"=>"54b957b97735330c0e0f0100"}
416853
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b97735330c0e0f0100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2629ms
416854
+ Completed 200 OK in 4ms (Views: 2.3ms)
416855
+ ---------------------------------------
416856
+ UsersControllerTest: test_should_update
416857
+ ---------------------------------------
416858
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_test collection=admin_users documents=[{"_id"=>BSON::ObjectId('54b957b97735330c0e100100'), "firstname"=>"Salvador", "lastname"=>"Williamson"}] flags=[]
416859
+ COMMAND database=dummy_test command={:getlasterror=>1, :w=>1} runtime: 0.3839ms
416860
+ Processing by UsersController#update as HTML
416861
+ Parameters: {"user"=>{"name"=>"Hello"}, "id"=>"54b957b97735330c0e100100"}
416862
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_test collection=admin_users selector={"_id"=>BSON::ObjectId('54b957b97735330c0e100100')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.2499ms
416863
+ Unpermitted parameters: name
416864
+ Redirected to http://test.host/users/54b957b97735330c0e100100
413249
416865
  Completed 302 Found in 2ms