mongoid-forums 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48f9fb44106dc7ee9893700c82ab559aaba41743
4
- data.tar.gz: 586a546b29ec037aebfa8f3e155fcdf5562a94e0
3
+ metadata.gz: 09d8f5c82d7008d40d00ba2b38a5c8e299cb01d0
4
+ data.tar.gz: 808facd00f4b5223cfa5673f66664fe9bb6699f2
5
5
  SHA512:
6
- metadata.gz: 576b1c9963613a475f9d982e784578c297abf08ca9b7411e1fc90f5a18cf086319a43581e039761f05aaead4e1a80518776aa299a93ca977c85e2736366f09c6
7
- data.tar.gz: aab0c333471cac834a7e5575d33e4eca12e289912db59d74d2e745d6944cbac765be04228c9886d4773b34f0bd379c3442dafa5246b45dea56aac1a2bd12486d
6
+ metadata.gz: 054af08d031c496af76b26aee22e1a489e10b23f7fcbbd431b17286504fc5f654f9d1dd24f6cfa192809d59d36d06c8ddf4bccea78f9a6f6a622e02d979af9fd
7
+ data.tar.gz: e24637272a38e5adbf9bf339ab5c38884474663a9700553dc33fa22b902690064599670a7131bc8d1f7cd187e0167d54d3c5eb9070b4062776e13633c7cfde91
@@ -12,10 +12,10 @@ module MongoidForums
12
12
  field :posts_count, :type => Integer
13
13
 
14
14
  field :name
15
- validates :name, :presence => true
16
15
 
17
16
  has_and_belongs_to_many :moderator_groups, :class_name => "MongoidForums::Group", inverse_of: nil
18
17
 
18
+ validates :category, :name, :presence => true
19
19
  field :position, :type => Integer, :default => 0
20
20
  validates :position, numericality: { only_integer: true }
21
21
 
@@ -2,7 +2,7 @@ module MongoidForums
2
2
  class Group
3
3
  include Mongoid::Document
4
4
 
5
- validates :name, :presence => true
5
+ validates :name, :moderator, :presence => true
6
6
 
7
7
  field :name, type: String
8
8
  field :moderator, type: Boolean
@@ -3,7 +3,7 @@ module MongoidForums
3
3
  include Mongoid::Document
4
4
  include Mongoid::Timestamps
5
5
 
6
- before_save :set_topic_last_post_at
6
+ after_create :set_topic_last_post_at
7
7
 
8
8
  belongs_to :topic, :class_name => "MongoidForums::Topic"
9
9
 
@@ -13,12 +13,13 @@ module MongoidForums
13
13
  belongs_to :user, :class_name => MongoidForums.user_class.to_s
14
14
 
15
15
  field :name
16
- validates :name, :presence => true
17
16
 
18
17
  field :locked, type: Boolean, default: false
19
18
  field :pinned, type: Boolean, default: false
20
19
  field :hidden, type: Boolean, default: false
21
20
 
21
+ validates :name, :presence => true, :length => { maximum: 255 }
22
+ validates :user, :presence => true
22
23
 
23
24
  def can_be_replied_to?
24
25
  !locked?
@@ -1,3 +1,3 @@
1
1
  module MongoidForums
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -69460,3 +69460,1154 @@ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for
69460
69460
 
69461
69461
 
69462
69462
  Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-05 14:22:44 -0400
69463
+
69464
+
69465
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:28:19 -0400
69466
+ Processing by MongoidForums::Admin::UsersController#index as HTML
69467
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.8280ms
69468
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7290ms
69469
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7200ms
69470
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5820ms
69471
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (10.6ms)
69472
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6420ms
69473
+ Completed 200 OK in 137ms (Views: 104.2ms)
69474
+
69475
+
69476
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69477
+
69478
+
69479
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69480
+
69481
+
69482
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69483
+
69484
+
69485
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69486
+
69487
+
69488
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69489
+
69490
+
69491
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69492
+
69493
+
69494
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:28:19 -0400
69495
+
69496
+
69497
+ Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:28:24 -0400
69498
+ Processing by MongoidForums::Admin::UsersController#remove_admin as HTML
69499
+ Parameters: {"authenticity_token"=>"qwhHfjNh2sHM395V7D2tyxYq5uiO3xKLuEXForEbbs4E3mU3iLHpr69hlcH3YXZW2d+u2a75rq1juH8ifMjvVA==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"}
69500
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms
69501
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7380ms
69502
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>false}} flags=[]
69503
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.2870ms
69504
+ Redirected to http://localhost:3000/forums/admin/users
69505
+ Completed 302 Found in 44ms
69506
+
69507
+
69508
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:28:24 -0400
69509
+ Processing by MongoidForums::Admin::UsersController#index as HTML
69510
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4860ms
69511
+ Redirected to http://localhost:3000/forums/
69512
+ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected
69513
+ Completed 302 Found in 25ms
69514
+
69515
+
69516
+ Started GET "/forums/" for ::1 at 2015-04-06 18:28:24 -0400
69517
+ Processing by MongoidForums::ForumsController#index as HTML
69518
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms
69519
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9050ms
69520
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.5230ms
69521
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3680ms
69522
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6050ms
69523
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 1.2820ms
69524
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6290ms
69525
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4870ms
69526
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6990ms
69527
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.9880ms
69528
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2200ms
69529
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3450ms
69530
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3720ms
69531
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3600ms
69532
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5250ms
69533
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4990ms
69534
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6400ms
69535
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (75.9ms)
69536
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5150ms
69537
+ Completed 200 OK in 116ms (Views: 111.7ms)
69538
+
69539
+
69540
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:24 -0400
69541
+
69542
+
69543
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:24 -0400
69544
+
69545
+
69546
+ Started GET "/" for ::1 at 2015-04-06 18:28:35 -0400
69547
+ Processing by WelcomeController#index as HTML
69548
+ Rendered welcome/index.html.erb within layouts/application (0.4ms)
69549
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4830ms
69550
+ Rendered partials/_nav.haml (3.4ms)
69551
+ Completed 200 OK in 41ms (Views: 40.3ms)
69552
+
69553
+
69554
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:35 -0400
69555
+
69556
+
69557
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:35 -0400
69558
+
69559
+
69560
+ Started GET "/forums/admin" for ::1 at 2015-04-06 18:28:43 -0400
69561
+ Processing by MongoidForums::Admin::BaseController#index as HTML
69562
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5460ms
69563
+ Redirected to http://localhost:3000/forums/
69564
+ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected
69565
+ Completed 302 Found in 3ms
69566
+
69567
+
69568
+ Started GET "/forums/" for ::1 at 2015-04-06 18:28:43 -0400
69569
+ Processing by MongoidForums::ForumsController#index as HTML
69570
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4310ms
69571
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7350ms
69572
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7560ms
69573
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.2800ms
69574
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.9410ms
69575
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6870ms
69576
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1380ms
69577
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8090ms
69578
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 4.5270ms
69579
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6510ms
69580
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms
69581
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3120ms
69582
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3140ms
69583
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.2630ms
69584
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms
69585
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4450ms
69586
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms
69587
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (32.5ms)
69588
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('552004d34e6569eff4180000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4420ms
69589
+ Completed 200 OK in 117ms (Views: 114.8ms)
69590
+
69591
+
69592
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:43 -0400
69593
+
69594
+
69595
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:43 -0400
69596
+
69597
+
69598
+ Started GET "/" for ::1 at 2015-04-06 18:28:45 -0400
69599
+ Processing by WelcomeController#index as HTML
69600
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
69601
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms
69602
+ Rendered partials/_nav.haml (1.5ms)
69603
+ Completed 200 OK in 40ms (Views: 39.5ms)
69604
+
69605
+
69606
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400
69607
+
69608
+
69609
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400
69610
+
69611
+
69612
+ Started GET "/users/sign_out" for ::1 at 2015-04-06 18:28:46 -0400
69613
+ Processing by Devise::SessionsController#destroy as HTML
69614
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6910ms
69615
+ Redirected to http://localhost:3000/
69616
+ Completed 302 Found in 7ms
69617
+
69618
+
69619
+ Started GET "/" for ::1 at 2015-04-06 18:28:46 -0400
69620
+ Processing by WelcomeController#index as HTML
69621
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
69622
+ Rendered partials/_nav.haml (4.1ms)
69623
+ Completed 200 OK in 40ms (Views: 39.7ms)
69624
+
69625
+
69626
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400
69627
+
69628
+
69629
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:46 -0400
69630
+
69631
+
69632
+ Started GET "/users/sign_in" for ::1 at 2015-04-06 18:28:48 -0400
69633
+ Processing by Devise::SessionsController#new as HTML
69634
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.1ms)
69635
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (23.5ms)
69636
+ Rendered partials/_nav.haml (0.6ms)
69637
+ Completed 200 OK in 91ms (Views: 88.5ms)
69638
+
69639
+
69640
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:48 -0400
69641
+
69642
+
69643
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:48 -0400
69644
+
69645
+
69646
+ Started POST "/users/sign_in" for ::1 at 2015-04-06 18:28:53 -0400
69647
+ Processing by Devise::SessionsController#create as HTML
69648
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"jnr1+FkvFJMh8JS9ssr1gz+J/sr/LMqN+FgwfaN3TC2RVCCKz4O6O+5PDh0UfEdYfjDlkiUTy5YpV9UEHbQSiQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
69649
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.7970ms
69650
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-04 15:33:34 UTC, "current_sign_in_at"=>2015-04-06 22:28:53 UTC, "sign_in_count"=>10}} flags=[]
69651
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6550ms
69652
+ Redirected to http://localhost:3000/
69653
+ Completed 302 Found in 117ms
69654
+
69655
+
69656
+ Started GET "/" for ::1 at 2015-04-06 18:28:53 -0400
69657
+ Processing by WelcomeController#index as HTML
69658
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
69659
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.0540ms
69660
+ Rendered partials/_nav.haml (3.8ms)
69661
+ Completed 200 OK in 50ms (Views: 49.2ms)
69662
+
69663
+
69664
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:54 -0400
69665
+
69666
+
69667
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:54 -0400
69668
+
69669
+
69670
+ Started GET "/forums/admin/categories" for ::1 at 2015-04-06 18:28:59 -0400
69671
+ Processing by MongoidForums::Admin::CategoriesController#index as HTML
69672
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7240ms
69673
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7710ms
69674
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/categories/index.haml within layouts/mongoid_forums/application (10.4ms)
69675
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5680ms
69676
+ Completed 200 OK in 56ms (Views: 52.0ms)
69677
+
69678
+
69679
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:28:59 -0400
69680
+
69681
+
69682
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:28:59 -0400
69683
+
69684
+
69685
+ Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:29:07 -0400
69686
+ Processing by MongoidForums::Admin::UsersController#remove_admin as HTML
69687
+ Parameters: {"authenticity_token"=>"qwhHfjNh2sHM395V7D2tyxYq5uiO3xKLuEXForEbbs4E3mU3iLHpr69hlcH3YXZW2d+u2a75rq1juH8ifMjvVA==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"}
69688
+ Can't verify CSRF token authenticity
69689
+ Completed 422 Unprocessable Entity in 1ms
69690
+
69691
+ ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
69692
+ actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:181:in `handle_unverified_request'
69693
+ actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:209:in `handle_unverified_request'
69694
+ devise (3.4.1) lib/devise/controllers/helpers.rb:251:in `handle_unverified_request'
69695
+ actionpack (4.2.1) lib/action_controller/metal/request_forgery_protection.rb:204:in `verify_authenticity_token'
69696
+ activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda'
69697
+ activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `call'
69698
+ activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `block in halting'
69699
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
69700
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call'
69701
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each'
69702
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
69703
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
69704
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
69705
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
69706
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
69707
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
69708
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
69709
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
69710
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
69711
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
69712
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
69713
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
69714
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
69715
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
69716
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
69717
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
69718
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
69719
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
69720
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
69721
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
69722
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
69723
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
69724
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
69725
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
69726
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
69727
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
69728
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
69729
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
69730
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
69731
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
69732
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
69733
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
69734
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
69735
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
69736
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
69737
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
69738
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
69739
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
69740
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
69741
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
69742
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
69743
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
69744
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
69745
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
69746
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
69747
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
69748
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
69749
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
69750
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
69751
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
69752
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
69753
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
69754
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
69755
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
69756
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
69757
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
69758
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
69759
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
69760
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
69761
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
69762
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
69763
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
69764
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
69765
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
69766
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
69767
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
69768
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
69769
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
69770
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
69771
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
69772
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
69773
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
69774
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
69775
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
69776
+
69777
+
69778
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.5ms)
69779
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
69780
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
69781
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.7ms)
69782
+
69783
+
69784
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:29:17 -0400
69785
+ Processing by MongoidForums::Admin::UsersController#index as HTML
69786
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8300ms
69787
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5840ms
69788
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6140ms
69789
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (3.6ms)
69790
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5630ms
69791
+ Completed 200 OK in 49ms (Views: 46.6ms)
69792
+
69793
+
69794
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69795
+
69796
+
69797
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69798
+
69799
+
69800
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69801
+
69802
+
69803
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69804
+
69805
+
69806
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69807
+
69808
+
69809
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69810
+
69811
+
69812
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:29:17 -0400
69813
+
69814
+
69815
+ Started POST "/forums/admin/users/dummy/add" for ::1 at 2015-04-06 18:29:56 -0400
69816
+ Processing by MongoidForums::Admin::UsersController#add_admin as HTML
69817
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TB+e8xQLKKE6NE1Q5YYZNGtK5sMKLashwxq3p9sbsUkPhOPUnvSCN6f1LtL+vDb9SNv0MeTX2n7l0SRrEWIgdQ==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "commit"=>"Add Admin", "user_id"=>"dummy"}
69818
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4200ms
69819
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms
69820
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4480ms
69821
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>true}} flags=[]
69822
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4790ms
69823
+ Redirected to http://localhost:3000/forums/admin/users
69824
+ Completed 302 Found in 7ms
69825
+
69826
+
69827
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:29:56 -0400
69828
+ Processing by MongoidForums::Admin::UsersController#index as HTML
69829
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8600ms
69830
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5780ms
69831
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms
69832
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (5.0ms)
69833
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5240ms
69834
+ Completed 200 OK in 67ms (Views: 63.6ms)
69835
+
69836
+
69837
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69838
+
69839
+
69840
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69841
+
69842
+
69843
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69844
+
69845
+
69846
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69847
+
69848
+
69849
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69850
+
69851
+
69852
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69853
+
69854
+
69855
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:29:56 -0400
69856
+
69857
+
69858
+ Started POST "/forums/admin/users/dummy/add" for ::1 at 2015-04-06 18:29:59 -0400
69859
+ Processing by MongoidForums::Admin::UsersController#add_admin as HTML
69860
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"B+RJTg5fmWLIXhuOe7IaVwwduPu4OQIUEIFuvigacDFEfzRphKAz9FWfeAxgiDWeL4yqCVbDc0s2Sv1y4mPhDQ==", "user"=>{"id"=>""}, "commit"=>"Add Admin", "user_id"=>"dummy"}
69861
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6240ms
69862
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>nil} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1490ms
69863
+ Completed 404 Not Found in 7ms
69864
+
69865
+ Mongoid::Errors::DocumentNotFound (
69866
+ Problem:
69867
+ Document(s) not found for class User with id(s) .
69868
+ Summary:
69869
+ When calling User.find with an id or array of ids, each parameter must match a document in the database or this error will be raised. The search was for the id(s): ... (1 total) and the following ids were not found: .
69870
+ Resolution:
69871
+ Search for an id that is in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error when searching for a single id, or only the matched documents when searching for multiples.):
69872
+ mongoid (4.0.0) lib/mongoid/criteria.rb:475:in `check_for_missing_documents!'
69873
+ mongoid (4.0.0) lib/mongoid/criteria/findable.rb:20:in `execute_or_raise'
69874
+ mongoid (4.0.0) lib/mongoid/criteria/findable.rb:40:in `find'
69875
+ mongoid (4.0.0) lib/mongoid/findable.rb:90:in `find'
69876
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/admin/users_controller.rb:29:in `set_user'
69877
+ activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda'
69878
+ activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `call'
69879
+ activesupport (4.2.1) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
69880
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
69881
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call'
69882
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each'
69883
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
69884
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
69885
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
69886
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
69887
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
69888
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
69889
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
69890
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
69891
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
69892
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
69893
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
69894
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
69895
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
69896
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
69897
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
69898
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
69899
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
69900
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
69901
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
69902
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
69903
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
69904
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
69905
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
69906
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
69907
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
69908
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
69909
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
69910
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
69911
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
69912
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
69913
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
69914
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
69915
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
69916
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
69917
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
69918
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
69919
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
69920
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
69921
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
69922
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
69923
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
69924
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
69925
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
69926
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
69927
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
69928
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
69929
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
69930
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
69931
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
69932
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
69933
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
69934
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
69935
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
69936
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
69937
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
69938
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
69939
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
69940
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
69941
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
69942
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
69943
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
69944
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
69945
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
69946
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
69947
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
69948
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
69949
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
69950
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
69951
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
69952
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
69953
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
69954
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
69955
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
69956
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
69957
+
69958
+
69959
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms)
69960
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
69961
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
69962
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (27.5ms)
69963
+
69964
+
69965
+ Started POST "/forums/admin/users/dummy/remove?user%5Bid%5D=552004d34e6569eff4180000" for ::1 at 2015-04-06 18:30:06 -0400
69966
+ Processing by MongoidForums::Admin::UsersController#remove_admin as HTML
69967
+ Parameters: {"authenticity_token"=>"B+RJTg5fmWLIXhuOe7IaVwwduPu4OQIUEIFuvigacDFEfzRphKAz9FWfeAxgiDWeL4yqCVbDc0s2Sv1y4mPhDQ==", "user"=>{"id"=>"552004d34e6569eff4180000"}, "user_id"=>"dummy"}
69968
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4990ms
69969
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3440ms
69970
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('552004d34e6569eff4180000')} update={"$set"=>{"mongoid_admin"=>false}} flags=[]
69971
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 1.0060ms
69972
+ Redirected to http://localhost:3000/forums/admin/users
69973
+ Completed 302 Found in 6ms
69974
+
69975
+
69976
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:30:06 -0400
69977
+ Processing by MongoidForums::Admin::UsersController#index as HTML
69978
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4590ms
69979
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1440ms
69980
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6790ms
69981
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (6.2ms)
69982
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7610ms
69983
+ Completed 200 OK in 73ms (Views: 69.5ms)
69984
+
69985
+
69986
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400
69987
+
69988
+
69989
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400
69990
+
69991
+
69992
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400
69993
+
69994
+
69995
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:30:06 -0400
69996
+
69997
+
69998
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400
69999
+
70000
+
70001
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400
70002
+
70003
+
70004
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:30:06 -0400
70005
+
70006
+
70007
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:30:07 -0400
70008
+ Processing by MongoidForums::Admin::UsersController#index as HTML
70009
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4610ms
70010
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6930ms
70011
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7820ms
70012
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (4.1ms)
70013
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4360ms
70014
+ Completed 200 OK in 67ms (Views: 64.7ms)
70015
+
70016
+
70017
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70018
+
70019
+
70020
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70021
+
70022
+
70023
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70024
+
70025
+
70026
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70027
+
70028
+
70029
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70030
+
70031
+
70032
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70033
+
70034
+
70035
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:30:08 -0400
70036
+
70037
+
70038
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:31:06 -0400
70039
+ Processing by MongoidForums::Admin::UsersController#index as HTML
70040
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5750ms
70041
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5260ms
70042
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3250ms
70043
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3520ms
70044
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (16.3ms)
70045
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4910ms
70046
+ Completed 200 OK in 66ms (Views: 61.6ms)
70047
+
70048
+
70049
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70050
+
70051
+
70052
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70053
+
70054
+
70055
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70056
+
70057
+
70058
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70059
+
70060
+
70061
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70062
+
70063
+
70064
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70065
+
70066
+
70067
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:31:06 -0400
70068
+
70069
+
70070
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:31:14 -0400
70071
+ Processing by MongoidForums::Admin::UsersController#index as HTML
70072
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5860ms
70073
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5540ms
70074
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4030ms
70075
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (6.0ms)
70076
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.7660ms
70077
+ Completed 200 OK in 53ms (Views: 50.5ms)
70078
+
70079
+
70080
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70081
+
70082
+
70083
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70084
+
70085
+
70086
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70087
+
70088
+
70089
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70090
+
70091
+
70092
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70093
+
70094
+
70095
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70096
+
70097
+
70098
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:31:14 -0400
70099
+
70100
+
70101
+ Started GET "/forums/admin" for ::1 at 2015-04-06 18:33:21 -0400
70102
+ Processing by MongoidForums::Admin::BaseController#index as HTML
70103
+ Redirected to http://localhost:3000/forums/
70104
+ Filter chain halted as :authenticate_mongoid_forums_admin rendered or redirected
70105
+ Completed 302 Found in 2ms
70106
+
70107
+
70108
+ Started GET "/forums/" for ::1 at 2015-04-06 18:33:21 -0400
70109
+ Processing by MongoidForums::ForumsController#index as HTML
70110
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5260ms
70111
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.1840ms
70112
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7290ms
70113
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5080ms
70114
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4900ms
70115
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4260ms
70116
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4790ms
70117
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms
70118
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4900ms
70119
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4280ms
70120
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms
70121
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3640ms
70122
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3950ms
70123
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6520ms
70124
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5930ms
70125
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (52.3ms)
70126
+ Completed 200 OK in 101ms (Views: 99.9ms)
70127
+
70128
+
70129
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70130
+
70131
+
70132
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70133
+
70134
+
70135
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70136
+
70137
+
70138
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70139
+
70140
+
70141
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70142
+
70143
+
70144
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70145
+
70146
+
70147
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 18:33:22 -0400
70148
+
70149
+
70150
+ Started GET "/" for ::1 at 2015-04-06 18:33:26 -0400
70151
+ Processing by WelcomeController#index as HTML
70152
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
70153
+ Rendered partials/_nav.haml (0.4ms)
70154
+ Completed 200 OK in 57ms (Views: 56.4ms)
70155
+
70156
+
70157
+ Started GET "/users/sign_in" for ::1 at 2015-04-06 18:33:27 -0400
70158
+ Processing by Devise::SessionsController#new as HTML
70159
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.5ms)
70160
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.4ms)
70161
+ Rendered partials/_nav.haml (0.4ms)
70162
+ Completed 200 OK in 55ms (Views: 53.6ms)
70163
+
70164
+
70165
+ Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:32 -0400
70166
+ Processing by Devise::SessionsController#create as HTML
70167
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DiMj3aKGOodxMaacmb7kR0Nwyz1oHAaqbwxv6tA2YnolUgspzEchsthN5w2nodjLZBbz1G5mpSgQDng5rRhg6g==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70168
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8160ms
70169
+ Completed 401 Unauthorized in 88ms
70170
+ Processing by Devise::SessionsController#new as HTML
70171
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"DiMj3aKGOodxMaacmb7kR0Nwyz1oHAaqbwxv6tA2YnolUgspzEchsthN5w2nodjLZBbz1G5mpSgQDng5rRhg6g==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70172
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.8ms)
70173
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.3ms)
70174
+ Rendered partials/_nav.haml (0.3ms)
70175
+ Completed 200 OK in 138ms (Views: 57.8ms)
70176
+
70177
+
70178
+ Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:34 -0400
70179
+ Processing by Devise::SessionsController#create as HTML
70180
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"l6EnYcNUAkMmem2+zMbg71F/QuTEbBU8K7mWppyFHgC80A+VrZUZdo8GLC/y2dxjdhl6DcIWtr5Uu4F14asckA==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70181
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5660ms
70182
+ Completed 401 Unauthorized in 83ms
70183
+ Processing by Devise::SessionsController#new as HTML
70184
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"l6EnYcNUAkMmem2+zMbg71F/QuTEbBU8K7mWppyFHgC80A+VrZUZdo8GLC/y2dxjdhl6DcIWtr5Uu4F14asckA==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70185
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.3ms)
70186
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (4.2ms)
70187
+ Rendered partials/_nav.haml (0.2ms)
70188
+ Completed 200 OK in 124ms (Views: 45.0ms)
70189
+
70190
+
70191
+ Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:36 -0400
70192
+ Processing by Devise::SessionsController#create as HTML
70193
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"K7ntVpuKomd3vf0WNrRjHbw1F+kS3LAlDpDN1vnWJj4AyMWi9Uu5Ut7BvIcIq1+Rm1MvABSmE6dxktoFhPgkrg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70194
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7650ms
70195
+ Completed 401 Unauthorized in 84ms
70196
+ Processing by Devise::SessionsController#new as HTML
70197
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"K7ntVpuKomd3vf0WNrRjHbw1F+kS3LAlDpDN1vnWJj4AyMWi9Uu5Ut7BvIcIq1+Rm1MvABSmE6dxktoFhPgkrg==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70198
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.9ms)
70199
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.4ms)
70200
+ Rendered partials/_nav.haml (0.3ms)
70201
+ Completed 200 OK in 138ms (Views: 51.8ms)
70202
+
70203
+
70204
+ Started POST "/users/sign_in" for ::1 at 2015-04-06 18:33:38 -0400
70205
+ Processing by Devise::SessionsController#create as HTML
70206
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"FI5EhDY1oYh75/10NX+so57x8qms37uoKf7U1YwbD34//2xwWPS6vdKbvOULYJAvuZfKQKqlGCpW/MMG8TUN7g==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70207
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9450ms
70208
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-06 22:28:53 UTC, "current_sign_in_at"=>2015-04-06 22:33:38 UTC, "sign_in_count"=>11}} flags=[]
70209
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5430ms
70210
+ Redirected to http://localhost:3000/
70211
+ Completed 302 Found in 88ms
70212
+
70213
+
70214
+ Started GET "/" for ::1 at 2015-04-06 18:33:38 -0400
70215
+ Processing by WelcomeController#index as HTML
70216
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
70217
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0140ms
70218
+ Rendered partials/_nav.haml (1.9ms)
70219
+ Completed 200 OK in 49ms (Views: 48.9ms)
70220
+
70221
+
70222
+ Started GET "/forums/admin" for ::1 at 2015-04-06 18:33:42 -0400
70223
+ Processing by MongoidForums::Admin::BaseController#index as HTML
70224
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6110ms
70225
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/base/index.haml within layouts/mongoid_forums/application (2.0ms)
70226
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.6310ms
70227
+ Completed 200 OK in 45ms (Views: 42.4ms)
70228
+
70229
+
70230
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 18:33:43 -0400
70231
+ Processing by MongoidForums::Admin::UsersController#index as HTML
70232
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms
70233
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5200ms
70234
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7320ms
70235
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (8.6ms)
70236
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4440ms
70237
+ Completed 200 OK in 55ms (Views: 53.2ms)
70238
+
70239
+
70240
+ Started GET "/forums/admin/users" for ::1 at 2015-04-06 19:26:55 -0400
70241
+ Processing by MongoidForums::Admin::UsersController#index as HTML
70242
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.7100ms
70243
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.6020ms
70244
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>true} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.9860ms
70245
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"mongoid_admin"=>false} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5240ms
70246
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/admin/users/index.haml within layouts/mongoid_forums/application (5.3ms)
70247
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.6420ms
70248
+ Completed 200 OK in 57ms (Views: 51.2ms)
70249
+
70250
+
70251
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70252
+
70253
+
70254
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70255
+
70256
+
70257
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70258
+
70259
+
70260
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70261
+
70262
+
70263
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70264
+
70265
+
70266
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70267
+
70268
+
70269
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-06 19:26:55 -0400
70270
+
70271
+
70272
+ Started GET "/" for ::1 at 2015-04-08 23:28:11 -0400
70273
+ Processing by WelcomeController#index as HTML
70274
+ Rendered welcome/index.html.erb within layouts/application (1.5ms)
70275
+ Rendered partials/_nav.haml (5.5ms)
70276
+ Completed 200 OK in 154ms (Views: 153.5ms)
70277
+
70278
+
70279
+ Started GET "/assets/scaffold-ca007d4d73fdd54c8e9c2a16b1d732f9.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70280
+
70281
+
70282
+ Started GET "/assets/welcome-dfa7b291102a59957590b4e00e20f1c8.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70283
+
70284
+
70285
+ Started GET "/assets/application-bcdad396ad4dd02237c45c691ac058eb.css?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70286
+
70287
+
70288
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70289
+
70290
+
70291
+ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70292
+
70293
+
70294
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70295
+
70296
+
70297
+ Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-08 23:28:12 -0400
70298
+
70299
+
70300
+ Started GET "/users/sign_in" for ::1 at 2015-04-08 23:28:14 -0400
70301
+ Processing by Devise::SessionsController#new as HTML
70302
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (2.5ms)
70303
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (40.8ms)
70304
+ Rendered partials/_nav.haml (0.4ms)
70305
+ Completed 200 OK in 86ms (Views: 83.6ms)
70306
+
70307
+
70308
+ Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:18 -0400
70309
+ Processing by Devise::SessionsController#create as HTML
70310
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70311
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.4890ms
70312
+ MOPED: Retrying connection attempt 1 more time(s). runtime: n/a
70313
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2190ms
70314
+ Completed 500 Internal Server Error in 260ms
70315
+
70316
+ Moped::Errors::ConnectionFailure (Could not connect to a primary node for replica set #<Moped::Cluster:70299087269660 @seeds=[<Moped::Node resolved_address="127.0.0.1:27017">]>):
70317
+ moped (2.0.4) lib/moped/cluster.rb:254:in `with_primary'
70318
+ moped (2.0.4) lib/moped/read_preference/primary.rb:55:in `block in with_node'
70319
+ moped (2.0.4) lib/moped/read_preference/selectable.rb:65:in `call'
70320
+ moped (2.0.4) lib/moped/read_preference/selectable.rb:65:in `with_retry'
70321
+ moped (2.0.4) lib/moped/read_preference/selectable.rb:71:in `rescue in with_retry'
70322
+ moped (2.0.4) lib/moped/read_preference/selectable.rb:64:in `with_retry'
70323
+ moped (2.0.4) lib/moped/read_preference/primary.rb:54:in `with_node'
70324
+ moped (2.0.4) lib/moped/query.rb:127:in `first'
70325
+ mongoid (4.0.0) lib/mongoid/query_cache.rb:187:in `block in first_with_cache'
70326
+ mongoid (4.0.0) lib/mongoid/query_cache.rb:135:in `with_cache'
70327
+ mongoid (4.0.0) lib/mongoid/query_cache.rb:186:in `first_with_cache'
70328
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:199:in `block (2 levels) in first'
70329
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:535:in `with_sorting'
70330
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:198:in `block in first'
70331
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:447:in `try_cache'
70332
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:197:in `first'
70333
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `first'
70334
+ orm_adapter (0.5.0) lib/orm_adapter/adapters/mongoid.rb:28:in `find_first'
70335
+ devise (3.4.1) lib/devise/models/authenticatable.rb:252:in `find_first_by_auth_conditions'
70336
+ devise (3.4.1) lib/devise/models/authenticatable.rb:248:in `find_for_authentication'
70337
+ devise (3.4.1) lib/devise/models/database_authenticatable.rb:159:in `find_for_database_authentication'
70338
+ devise (3.4.1) lib/devise/strategies/database_authenticatable.rb:8:in `authenticate!'
70339
+ warden (1.2.3) lib/warden/strategies/base.rb:53:in `_run!'
70340
+ warden (1.2.3) lib/warden/proxy.rb:354:in `block in _run_strategies_for'
70341
+ warden (1.2.3) lib/warden/proxy.rb:349:in `each'
70342
+ warden (1.2.3) lib/warden/proxy.rb:349:in `_run_strategies_for'
70343
+ warden (1.2.3) lib/warden/proxy.rb:319:in `_perform_authentication'
70344
+ warden (1.2.3) lib/warden/proxy.rb:127:in `authenticate!'
70345
+ devise (3.4.1) app/controllers/devise/sessions_controller.rb:16:in `create'
70346
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
70347
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
70348
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
70349
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
70350
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
70351
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
70352
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
70353
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
70354
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
70355
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
70356
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
70357
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
70358
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
70359
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
70360
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
70361
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
70362
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
70363
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
70364
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
70365
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
70366
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
70367
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
70368
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
70369
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
70370
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
70371
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
70372
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
70373
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
70374
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:49:in `serve'
70375
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
70376
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
70377
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
70378
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
70379
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
70380
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
70381
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
70382
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
70383
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
70384
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
70385
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
70386
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
70387
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
70388
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
70389
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
70390
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
70391
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
70392
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
70393
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
70394
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
70395
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
70396
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
70397
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
70398
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
70399
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
70400
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
70401
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
70402
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
70403
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
70404
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
70405
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
70406
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
70407
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
70408
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
70409
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
70410
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
70411
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
70412
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
70413
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
70414
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
70415
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
70416
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
70417
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
70418
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
70419
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
70420
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
70421
+
70422
+
70423
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms)
70424
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
70425
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
70426
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (26.3ms)
70427
+
70428
+
70429
+ Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:30 -0400
70430
+ Processing by Devise::SessionsController#create as HTML
70431
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70432
+ MOPED: Retrying connection attempt 1 more time(s). runtime: n/a
70433
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 9.5460ms
70434
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 7.2420ms
70435
+ Completed 401 Unauthorized in 365ms
70436
+ Processing by Devise::SessionsController#new as HTML
70437
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"oVq0RA3wDiP1LYLgVmz/ah5hMOWDZ5TZ+ndQbbnJn01Oqs2biFa5Og37KErTgovG2S86INQBjT4WgBhbNLxHgQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70438
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/shared/_links.html.erb (0.4ms)
70439
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/devise-3.4.1/app/views/devise/sessions/new.html.erb within layouts/application (5.2ms)
70440
+ Rendered partials/_nav.haml (0.3ms)
70441
+ Completed 200 OK in 140ms (Views: 54.4ms)
70442
+
70443
+
70444
+ Started POST "/users/sign_in" for ::1 at 2015-04-08 23:28:33 -0400
70445
+ Processing by Devise::SessionsController#create as HTML
70446
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"fy4dtOH2Nx7jV3YAPfxl9/dM6XpVPghdMter8K5YwcGQ3mRrZFCABxuB3Kq4EhFbMALjvwJYEbreIOPGIy0ZDQ==", "user"=>{"email"=>"neilj.ny@gmail.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
70447
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"email"=>"neilj.ny@gmail.com"}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7190ms
70448
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=users selector={"_id"=>BSON::ObjectId('54c407ca4e65694706000000')} update={"$set"=>{"last_sign_in_at"=>2015-04-06 22:33:38 UTC, "current_sign_in_at"=>2015-04-09 03:28:33 UTC, "sign_in_count"=>12}} flags=[]
70449
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 10.6770ms
70450
+ Redirected to http://localhost:3000/
70451
+ Completed 302 Found in 107ms
70452
+
70453
+
70454
+ Started GET "/" for ::1 at 2015-04-08 23:28:33 -0400
70455
+ Processing by WelcomeController#index as HTML
70456
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
70457
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1640ms
70458
+ Rendered partials/_nav.haml (2.5ms)
70459
+ Completed 200 OK in 31ms (Views: 31.1ms)
70460
+
70461
+
70462
+ Started GET "/" for ::1 at 2015-04-08 23:28:36 -0400
70463
+ Processing by WelcomeController#index as HTML
70464
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
70465
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4090ms
70466
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4320ms
70467
+ Rendered partials/_nav.haml (1.9ms)
70468
+ Completed 200 OK in 26ms (Views: 25.6ms)
70469
+
70470
+
70471
+ Started GET "/forums" for ::1 at 2015-04-08 23:28:37 -0400
70472
+ Processing by MongoidForums::ForumsController#index as HTML
70473
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6610ms
70474
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6260ms
70475
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6610ms
70476
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.3010ms
70477
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5150ms
70478
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.4160ms
70479
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8740ms
70480
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 5.3880ms
70481
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7660ms
70482
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6650ms
70483
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 5.1400ms
70484
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5110ms
70485
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4580ms
70486
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4560ms
70487
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3940ms
70488
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5820ms
70489
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.4460ms
70490
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.8140ms
70491
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4120ms
70492
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (171.0ms)
70493
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 1.4410ms
70494
+ Completed 200 OK in 278ms (Views: 254.5ms)
70495
+
70496
+
70497
+ Started GET "/forums" for ::1 at 2015-04-08 23:28:39 -0400
70498
+ Processing by MongoidForums::ForumsController#index as HTML
70499
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms
70500
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5800ms
70501
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6070ms
70502
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3500ms
70503
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3540ms
70504
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3570ms
70505
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms
70506
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.3440ms
70507
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3680ms
70508
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3720ms
70509
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5060ms
70510
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('552048334e6569fe0d040000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3360ms
70511
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('552004d34e6569eff4180000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4760ms
70512
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.5270ms
70513
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.3730ms
70514
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5520482a4e6569fe0d010000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4130ms
70515
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5520482a4e6569fe0d010000')}} runtime: 0.7750ms
70516
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215efc4e656917a2010000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3910ms
70517
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4600ms
70518
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (21.4ms)
70519
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.8240ms
70520
+ Completed 200 OK in 57ms (Views: 55.0ms)
70521
+
70522
+
70523
+ Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-08 23:28:41 -0400
70524
+ Processing by MongoidForums::ForumsController#show as HTML
70525
+ Parameters: {"id"=>"55215f4a4e656917a2020000"}
70526
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms
70527
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms
70528
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3790ms
70529
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3820ms
70530
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms
70531
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5525f1e94e65693c78000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "viewable_type"=>"MongoidForums::Forum", "updated_at"=>2015-04-09 03:28:41 UTC, "created_at"=>2015-04-09 03:28:41 UTC, "current_viewed_at"=>2015-04-09 03:28:41 UTC, "past_viewed_at"=>2015-04-09 03:28:41 UTC}] flags=[]
70532
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.1490ms
70533
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[]
70534
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 2.1140ms
70535
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} update={"$inc"=>{"views_count"=>1}} flags=[]
70536
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7640ms
70537
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 03:28:41 UTC, "updated_at"=>2015-04-09 03:28:41 UTC}} flags=[]
70538
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms
70539
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5000ms
70540
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{"pinned"=>-1, "last_post_at"=>-1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4980ms
70541
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (8.1ms)
70542
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4640ms
70543
+ Completed 200 OK in 71ms (Views: 39.9ms)
70544
+
70545
+
70546
+ Started GET "/forums/55215f4a4e656917a2020000/new" for ::1 at 2015-04-08 23:28:44 -0400
70547
+ Processing by MongoidForums::ForumsController#new as HTML
70548
+ Parameters: {"forum_id"=>"55215f4a4e656917a2020000"}
70549
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6290ms
70550
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms
70551
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6730ms
70552
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4170ms
70553
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_form.haml (1.5ms)
70554
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/new.haml within layouts/mongoid_forums/application (56.4ms)
70555
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.5800ms
70556
+ Completed 200 OK in 100ms (Views: 92.0ms)
70557
+
70558
+
70559
+ Started POST "/forums/55215f4a4e656917a2020000/create" for ::1 at 2015-04-08 23:28:46 -0400
70560
+ Processing by MongoidForums::ForumsController#create as HTML
70561
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"WiqWHzVu8xQ3N3Kb15STQUuY4wKs5Z3FXfUfU7Sr7NX8ec9yZics9tACu3Ewhw+BEsKmvATggwIgyFPRj8NKCA==", "topic"=>{"name"=>"sdf", "posts"=>{"text"=>"sdf"}}, "commit"=>"Create Topic", "forum_id"=>"55215f4a4e656917a2020000"}
70562
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4160ms
70563
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4190ms
70564
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5620ms
70565
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4600ms
70566
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3630ms
70567
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3770ms
70568
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_topics documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "locked"=>false, "pinned"=>false, "hidden"=>false, "name"=>"sdf", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[]
70569
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5570ms
70570
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.9780ms
70571
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>true}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.2170ms
70572
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_subscriptions documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78040000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false, "subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[]
70573
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6830ms
70574
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4840ms
70575
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_posts documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78030000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "text"=>"sdf", "topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC}] flags=[]
70576
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4660ms
70577
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} update={"$set"=>{"last_post_at"=>2015-04-09 03:28:46 UTC, "updated_at"=>2015-04-09 03:28:46 UTC}} flags=[]
70578
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4550ms
70579
+ Redirected to http://localhost:3000/forums/topics/5525f1ee4e65693c78020000
70580
+ Completed 302 Found in 31ms
70581
+
70582
+
70583
+ Started GET "/forums/topics/5525f1ee4e65693c78020000" for ::1 at 2015-04-08 23:28:46 -0400
70584
+ Processing by MongoidForums::TopicsController#show as HTML
70585
+ Parameters: {"id"=>"5525f1ee4e65693c78020000"}
70586
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5840ms
70587
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4540ms
70588
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4520ms
70589
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6270ms
70590
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms
70591
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4380ms
70592
+ MOPED: 127.0.0.1:27017 INSERT database=dummy_development collection=mongoid_forums_views documents=[{"_id"=>BSON::ObjectId('5525f1ee4e65693c78050000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "viewable_type"=>"MongoidForums::Topic", "updated_at"=>2015-04-09 03:28:46 UTC, "created_at"=>2015-04-09 03:28:46 UTC, "current_viewed_at"=>2015-04-09 03:28:46 UTC, "past_viewed_at"=>2015-04-09 03:28:46 UTC}] flags=[]
70593
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
70594
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78050000')} update={"$inc"=>{"count"=>1}} flags=[]
70595
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4820ms
70596
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')} update={"$inc"=>{"views_count"=>1}} flags=[]
70597
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
70598
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1ee4e65693c78050000')} update={"$set"=>{"current_viewed_at"=>2015-04-09 03:28:46 UTC, "updated_at"=>2015-04-09 03:28:46 UTC}} flags=[]
70599
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3710ms
70600
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4940ms
70601
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_alerts selector={"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false, "subscription_id"=>BSON::ObjectId('5525f1ee4e65693c78040000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-08 23:28:46 -0400}} flags=[:multi]
70602
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4530ms
70603
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('5520481b4e6569fe0d000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5100ms
70604
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4800ms
70605
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4070ms
70606
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6650ms
70607
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=users selector={"$query"=>{"_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6970ms
70608
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4910ms
70609
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4360ms
70610
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (20.8ms)
70611
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (35.3ms)
70612
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_alerts selector={"$query"=>{"user_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "read"=>false}, "$orderby"=>{"updated_at"=>-1}} flags=[] limit=25 skip=0 batch_size=nil fields=nil runtime: 0.4460ms
70613
+ Completed 200 OK in 97ms (Views: 79.0ms)