mongoid-forums 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c266cda2076fe7b0bb1cdad4798d635db146f328
4
- data.tar.gz: f19e5cb56aebfc83d236ffb054b462a5deb24f64
3
+ metadata.gz: 2e66ef8a6b237ba14107d9b9d842339905e337b5
4
+ data.tar.gz: 21e658d2d8c4f8447e96e9babe67bbb2c543b0f7
5
5
  SHA512:
6
- metadata.gz: f671646679c467022155880c3981cacd7f630d9dd0d64de91dfb2b33bf3cecff302ea9ba8be199cfa506b49d89e0d75f73491213e870d8a578ec317bf5d7dcb1
7
- data.tar.gz: 6b508b2572cbcc9c1b0ae9ea0acfe8f5af5afb23429a1c8fa06949ee067d3b7d6cecd8ddeea210e2271b254734fc50b413e7c9c19b57a55ec14ffeffb1b54640
6
+ metadata.gz: 450e26abac226d4d64e90cc27f4e27a3955e0b9051cfc141887e40965e85f67769611268ea443c4af204c8ccec28ec0c5b42023537dbb8793973d089801501e1
7
+ data.tar.gz: 172ea7f1cd137a675e8fc5cac6836e3785fb568fb45106650ce4a01988bb571bb28206c43533480fdc2f014694c0bb9bd31fe34ee6f47dc11cbac9f6bedb34f7
@@ -0,0 +1 @@
1
+ MongoidForums.decorate_user_class! if MongoidForums.user_class
@@ -3,6 +3,8 @@ require 'mongoid_forums/sanitizer'
3
3
  require 'mongoid_forums/default_permissions'
4
4
  require 'sanitize'
5
5
 
6
+ require 'decorators'
7
+
6
8
  module MongoidForums
7
9
  mattr_accessor :per_page, :user_class, :formatter, :email_from_address, :sign_in_path
8
10
 
@@ -8,8 +8,16 @@ module MongoidForums
8
8
  class Engine < ::Rails::Engine
9
9
  isolate_namespace MongoidForums
10
10
 
11
+ class << self
12
+ attr_accessor :root
13
+ def root
14
+ @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
15
+ end
16
+ end
17
+
11
18
  config.to_prepare do
12
- MongoidForums.decorate_user_class! if MongoidForums.user_class
19
+ Decorators.register! Engine.root, Rails.root
13
20
  end
21
+
14
22
  end
15
23
  end
@@ -1,3 +1,3 @@
1
1
  module MongoidForums
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -77945,3 +77945,999 @@ Started GET "/assets/welcome-46c9a194bd0668e67d57241f94473dc8.js?body=1" for ::1
77945
77945
 
77946
77946
 
77947
77947
  Started GET "/assets/application-ad32b12732dc8431ee567adff183bd72.js?body=1" for ::1 at 2015-04-09 13:44:41 -0400
77948
+
77949
+
77950
+ Started GET "/" for ::1 at 2015-04-09 15:42:27 -0400
77951
+ Processing by WelcomeController#index as HTML
77952
+ Rendered welcome/index.html.erb within layouts/application (2.2ms)
77953
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.3080ms
77954
+ 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: 6.3850ms
77955
+ Rendered partials/_nav.haml (12.3ms)
77956
+ Completed 200 OK in 128ms (Views: 127.9ms)
77957
+
77958
+
77959
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:28 -0400
77960
+
77961
+
77962
+ Started GET "/assets/jquery_ujs-e27bd20a10d28155845a22d71ef94f2f.js?body=1" for ::1 at 2015-04-09 15:42:28 -0400
77963
+
77964
+
77965
+ Started GET "/" for ::1 at 2015-04-09 15:42:30 -0400
77966
+ Processing by WelcomeController#index as HTML
77967
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
77968
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5760ms
77969
+ 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.5270ms
77970
+ Rendered partials/_nav.haml (2.7ms)
77971
+ Completed 200 OK in 28ms (Views: 28.2ms)
77972
+
77973
+
77974
+ Started GET "/assets/jquery-87424c3c19e96d4fb033c10ebe21ec40.js?body=1" for ::1 at 2015-04-09 15:42:31 -0400
77975
+
77976
+
77977
+ Started GET "/forums" for ::1 at 2015-04-09 15:42:31 -0400
77978
+ Processing by MongoidForums::ForumsController#index as HTML
77979
+ 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.8160ms
77980
+ 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: 2.0130ms
77981
+ 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.9410ms
77982
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 1.6680ms
77983
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.5780ms
77984
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3520ms
77985
+ 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.4360ms
77986
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_forums selector={"_id"=>BSON::ObjectId('5526b8184e65695685000000')} update={"$set"=>{"posts_count"=>0}} flags=[]
77987
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 5.8780ms
77988
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 3.0300ms
77989
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4900ms
77990
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3280ms
77991
+ 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.3640ms
77992
+ 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.4440ms
77993
+ 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.4500ms
77994
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (81.4ms)
77995
+ Completed 500 Internal Server Error in 103ms
77996
+
77997
+ ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #<User:0x007f9f2c34c970>):
77998
+ 26: %td
77999
+ 27: = link_to forum.name, forum
78000
+ 28: %td
78001
+ 29: - if forum.topics.select {|topic| can?(:read, topic) }.last
78002
+ 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last
78003
+ 31: - last_post = last_topic.posts.last
78004
+ 32: = time_ago_in_words ( last_post.created_at )
78005
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize'
78006
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new'
78007
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability'
78008
+ cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?'
78009
+ actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?'
78010
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78011
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each'
78012
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78013
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78014
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78015
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78016
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78017
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78018
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78019
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78020
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each'
78021
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `select'
78022
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing'
78023
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78024
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78025
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78026
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78027
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78028
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78029
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78030
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78031
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78032
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78033
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78034
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78035
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78036
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78037
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78038
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78039
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78040
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78041
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78042
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
78043
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
78044
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
78045
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
78046
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
78047
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
78048
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78049
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78050
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78051
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
78052
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
78053
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
78054
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
78055
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
78056
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
78057
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
78058
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
78059
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
78060
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
78061
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
78062
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
78063
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
78064
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
78065
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
78066
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
78067
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
78068
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
78069
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
78070
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
78071
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
78072
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
78073
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
78074
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
78075
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
78076
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
78077
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78078
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78079
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
78080
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78081
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78082
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
78083
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
78084
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78085
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
78086
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
78087
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
78088
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78089
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78090
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78091
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
78092
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
78093
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
78094
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
78095
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
78096
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
78097
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
78098
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
78099
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
78100
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
78101
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78102
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78103
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78104
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78105
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78106
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
78107
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
78108
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
78109
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78110
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78111
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78112
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78113
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
78114
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
78115
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
78116
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
78117
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
78118
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
78119
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
78120
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
78121
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
78122
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
78123
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
78124
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
78125
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
78126
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
78127
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
78128
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78129
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
78130
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
78131
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
78132
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
78133
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
78134
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
78135
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
78136
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
78137
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
78138
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
78139
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
78140
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
78141
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
78142
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
78143
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
78144
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78145
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
78146
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
78147
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78148
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
78149
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78150
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
78151
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
78152
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
78153
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
78154
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
78155
+
78156
+
78157
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.6ms)
78158
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
78159
+ 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 (0.9ms)
78160
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (33.5ms)
78161
+
78162
+
78163
+ Started GET "/forums" for ::1 at 2015-04-09 15:43:57 -0400
78164
+ Processing by MongoidForums::ForumsController#index as HTML
78165
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.6200ms
78166
+ 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.5170ms
78167
+ 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.6100ms
78168
+ 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.5570ms
78169
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms
78170
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3900ms
78171
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3170ms
78172
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4530ms
78173
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3370ms
78174
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3340ms
78175
+ 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.4080ms
78176
+ 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.5810ms
78177
+ 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.5950ms
78178
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (15.0ms)
78179
+ Completed 500 Internal Server Error in 23ms
78180
+
78181
+ ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #<User:0x007f9f30ddbea0>):
78182
+ 26: %td
78183
+ 27: = link_to forum.name, forum
78184
+ 28: %td
78185
+ 29: - if forum.topics.select {|topic| can?(:read, topic) }.last
78186
+ 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last
78187
+ 31: - last_post = last_topic.posts.last
78188
+ 32: = time_ago_in_words ( last_post.created_at )
78189
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize'
78190
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new'
78191
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability'
78192
+ cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?'
78193
+ actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?'
78194
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78195
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each'
78196
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78197
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78198
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78199
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78200
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78201
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78202
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78203
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78204
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each'
78205
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `select'
78206
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing'
78207
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78208
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78209
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78210
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78211
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78212
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78213
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78214
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78215
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78216
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78217
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78218
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78219
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78220
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78221
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78222
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78223
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78224
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78225
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml__2962054415643774700_70160844010300'
78226
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
78227
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
78228
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
78229
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
78230
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
78231
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
78232
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78233
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78234
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78235
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
78236
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
78237
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
78238
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
78239
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
78240
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
78241
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
78242
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
78243
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
78244
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
78245
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
78246
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
78247
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
78248
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
78249
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
78250
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
78251
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
78252
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
78253
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
78254
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
78255
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
78256
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
78257
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
78258
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
78259
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
78260
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
78261
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78262
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78263
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
78264
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78265
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78266
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
78267
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
78268
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78269
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
78270
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
78271
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
78272
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78273
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78274
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78275
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
78276
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
78277
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
78278
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
78279
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
78280
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
78281
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
78282
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
78283
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
78284
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
78285
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78286
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78287
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78288
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78289
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78290
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
78291
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
78292
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
78293
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78294
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78295
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78296
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78297
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
78298
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
78299
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
78300
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
78301
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
78302
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
78303
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
78304
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
78305
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
78306
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
78307
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
78308
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
78309
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
78310
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
78311
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
78312
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78313
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
78314
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
78315
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
78316
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
78317
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
78318
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
78319
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
78320
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
78321
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
78322
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
78323
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
78324
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
78325
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
78326
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
78327
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
78328
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78329
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
78330
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
78331
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78332
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
78333
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78334
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
78335
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
78336
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
78337
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
78338
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
78339
+
78340
+
78341
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.0ms)
78342
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
78343
+ 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 (0.9ms)
78344
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (26.2ms)
78345
+
78346
+
78347
+ Started GET "/forums" for ::1 at 2015-04-09 15:44:06 -0400
78348
+ Processing by MongoidForums::ForumsController#index as HTML
78349
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9060ms
78350
+ 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.3800ms
78351
+ 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.6490ms
78352
+ 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.6430ms
78353
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.7370ms
78354
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.7730ms
78355
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4580ms
78356
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9190ms
78357
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6280ms
78358
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6790ms
78359
+ 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.4100ms
78360
+ 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.5000ms
78361
+ 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.5970ms
78362
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (68.6ms)
78363
+ Completed 500 Internal Server Error in 104ms
78364
+
78365
+ ActionView::Template::Error (undefined method `can_read_mongoid_forums_forums?' for #<User:0x007fbc7ae17010>):
78366
+ 26: %td
78367
+ 27: = link_to forum.name, forum
78368
+ 28: %td
78369
+ 29: - if forum.topics.select {|topic| can?(:read, topic) }.last
78370
+ 30: - last_topic = forum.topics.select {|topic| can?(:read, topic) }.last
78371
+ 31: - last_post = last_topic.posts.last
78372
+ 32: = time_ago_in_words ( last_post.created_at )
78373
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/models/mongoid_forums/ability.rb:30:in `initialize'
78374
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `new'
78375
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/controllers/mongoid_forums/application_controller.rb:11:in `current_ability'
78376
+ cancancan (1.10.1) lib/cancan/controller_additions.rb:380:in `can?'
78377
+ actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `can?'
78378
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (3 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980'
78379
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:184:in `block in each'
78380
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78381
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78382
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78383
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78384
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78385
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78386
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78387
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78388
+ mongoid (4.0.0) lib/mongoid/relations/targets/enumerable.rb:181:in `each'
78389
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `select'
78390
+ mongoid (4.0.0) lib/mongoid/relations/referenced/many.rb:410:in `method_missing'
78391
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:29:in `block (2 levels) in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980'
78392
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78393
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78394
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78395
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78396
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78397
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78398
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78399
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78400
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:24:in `block in ___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980'
78401
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:648:in `yield_document'
78402
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:123:in `block in each'
78403
+ moped (2.0.4) lib/moped/cursor.rb:28:in `block in each'
78404
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78405
+ moped (2.0.4) lib/moped/cursor.rb:28:in `each'
78406
+ moped (2.0.4) lib/moped/query.rb:77:in `each'
78407
+ mongoid (4.0.0) lib/mongoid/contextual/mongo.rb:122:in `each'
78408
+ mongoid (4.0.0) lib/mongoid/contextual.rb:20:in `each'
78409
+ /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml:3:in `___sers_neiljohari__esktop__rogramming___ay_evelopment_forums_mongoid_forums_app_views_mongoid_forums_forums_index_haml___1440545714803861656_70223733046980'
78410
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
78411
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
78412
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
78413
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
78414
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
78415
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
78416
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78417
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78418
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78419
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
78420
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
78421
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
78422
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
78423
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
78424
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
78425
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
78426
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
78427
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
78428
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
78429
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
78430
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
78431
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
78432
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
78433
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
78434
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
78435
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
78436
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
78437
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
78438
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
78439
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
78440
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
78441
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
78442
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
78443
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
78444
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
78445
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78446
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
78447
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
78448
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78449
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
78450
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
78451
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
78452
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78453
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
78454
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
78455
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
78456
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
78457
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
78458
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
78459
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
78460
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
78461
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
78462
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
78463
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
78464
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
78465
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
78466
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
78467
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
78468
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
78469
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78470
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78471
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78472
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78473
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78474
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
78475
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
78476
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
78477
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
78478
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
78479
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
78480
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
78481
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
78482
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
78483
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
78484
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
78485
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
78486
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
78487
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
78488
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
78489
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
78490
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
78491
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
78492
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
78493
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
78494
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
78495
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
78496
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
78497
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
78498
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
78499
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
78500
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
78501
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
78502
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
78503
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
78504
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
78505
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
78506
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
78507
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
78508
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
78509
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
78510
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
78511
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
78512
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78513
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
78514
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
78515
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
78516
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
78517
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
78518
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
78519
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
78520
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
78521
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
78522
+ /Users/neiljohari/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
78523
+
78524
+
78525
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.7ms)
78526
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.9ms)
78527
+ 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.3ms)
78528
+ Rendered /Users/neiljohari/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.6ms)
78529
+ Overwriting existing field mongoid_admin in class User.
78530
+
78531
+
78532
+ Started GET "/forums" for ::1 at 2015-04-09 15:50:08 -0400
78533
+ Processing by MongoidForums::ForumsController#index as HTML
78534
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.9590ms
78535
+ 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.4400ms
78536
+ 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.6360ms
78537
+ 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.5290ms
78538
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5440ms
78539
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4020ms
78540
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.3520ms
78541
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9100ms
78542
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6210ms
78543
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4430ms
78544
+ 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.4180ms
78545
+ 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.5020ms
78546
+ 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.4310ms
78547
+ 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.4020ms
78548
+ 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.4470ms
78549
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.8910ms
78550
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.1630ms
78551
+ 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.5610ms
78552
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.6900ms
78553
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.7770ms
78554
+ 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.5640ms
78555
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (117.1ms)
78556
+ 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: 2.0350ms
78557
+ Completed 200 OK in 240ms (Views: 209.4ms)
78558
+
78559
+
78560
+ Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 15:50:16 -0400
78561
+ Processing by MongoidForums::ForumsController#show as HTML
78562
+ Parameters: {"id"=>"55215f4a4e656917a2020000"}
78563
+ 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.6980ms
78564
+ 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.5440ms
78565
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4620ms
78566
+ 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.3960ms
78567
+ 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.7900ms
78568
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$inc"=>{"count"=>1}} flags=[]
78569
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5710ms
78570
+ 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=[]
78571
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5070ms
78572
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5525f1e94e65693c78000000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:42:40 UTC, "current_viewed_at"=>2015-04-09 19:50:16 UTC, "updated_at"=>2015-04-09 19:50:16 UTC}} flags=[]
78573
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6600ms
78574
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7080ms
78575
+ 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.7530ms
78576
+ 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.5720ms
78577
+ 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.5170ms
78578
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4660ms
78579
+ 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.3660ms
78580
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4260ms
78581
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4740ms
78582
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3640ms
78583
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4480ms
78584
+ 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.3180ms
78585
+ 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.3270ms
78586
+ 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.4110ms
78587
+ 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.2930ms
78588
+ 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.3860ms
78589
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5525f1ee4e65693c78020000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5170ms
78590
+ 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=0 skip=0 batch_size=nil fields=nil runtime: 0.3520ms
78591
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4290ms
78592
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (28.4ms)
78593
+ 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.5150ms
78594
+ Completed 200 OK in 84ms (Views: 61.3ms)
78595
+
78596
+
78597
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:50:18 -0400
78598
+ Processing by MongoidForums::TopicsController#show as HTML
78599
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78600
+ 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.6420ms
78601
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms
78602
+ 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.4610ms
78603
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5550ms
78604
+ 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.3570ms
78605
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.8290ms
78606
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78607
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4150ms
78608
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78609
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3640ms
78610
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 17:27:55 UTC, "current_viewed_at"=>2015-04-09 19:50:18 UTC, "updated_at"=>2015-04-09 19:50:18 UTC}} flags=[]
78611
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3690ms
78612
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 2.6180ms
78613
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:50:18 -0400}} flags=[:multi]
78614
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6620ms
78615
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5920ms
78616
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.6580ms
78617
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4660ms
78618
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5690ms
78619
+ 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.4850ms
78620
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6900ms
78621
+ 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.4250ms
78622
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (18.9ms)
78623
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (36.2ms)
78624
+ 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.7730ms
78625
+ Completed 200 OK in 99ms (Views: 70.0ms)
78626
+
78627
+
78628
+ Started DELETE "/forums/topics/5526b5814e6569535b070000/posts/5526b5814e6569535b080000" for ::1 at 2015-04-09 15:50:19 -0400
78629
+ Processing by MongoidForums::PostsController#destroy as HTML
78630
+ Parameters: {"authenticity_token"=>"RabswBZcB9V9qVxpZCSQOgz0BBugt/CbDLgKgF+KRsTj9bWtRRXYN5qclYODNwz6Va5BpQiy7lxxhUYCZOLgGQ==", "topic_id"=>"5526b5814e6569535b070000", "id"=>"5526b5814e6569535b080000"}
78631
+ 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.4710ms
78632
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3020ms
78633
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"_id"=>BSON::ObjectId('5526b5814e6569535b080000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3660ms
78634
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3920ms
78635
+ Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000
78636
+ Completed 302 Found in 5ms
78637
+
78638
+
78639
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:50:20 -0400
78640
+ Processing by MongoidForums::TopicsController#show as HTML
78641
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78642
+ 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.4630ms
78643
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5270ms
78644
+ 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.3980ms
78645
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6610ms
78646
+ 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.3890ms
78647
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7960ms
78648
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78649
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4320ms
78650
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78651
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4420ms
78652
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:50:18 UTC, "current_viewed_at"=>2015-04-09 19:50:20 UTC, "updated_at"=>2015-04-09 19:50:20 UTC}} flags=[]
78653
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4840ms
78654
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6770ms
78655
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:50:20 -0400}} flags=[:multi]
78656
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5860ms
78657
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4850ms
78658
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4210ms
78659
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3440ms
78660
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4520ms
78661
+ 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.3630ms
78662
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3560ms
78663
+ 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.3150ms
78664
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms)
78665
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (12.7ms)
78666
+ 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.4480ms
78667
+ Completed 200 OK in 105ms (Views: 44.0ms)
78668
+ Overwriting existing field mongoid_admin in class User.
78669
+
78670
+
78671
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:31 -0400
78672
+ Processing by MongoidForums::TopicsController#show as HTML
78673
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78674
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 1.2690ms
78675
+ 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.4750ms
78676
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms
78677
+ 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.4460ms
78678
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5490ms
78679
+ 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.5270ms
78680
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7300ms
78681
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78682
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4990ms
78683
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78684
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3950ms
78685
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:50:20 UTC, "current_viewed_at"=>2015-04-09 19:57:31 UTC, "updated_at"=>2015-04-09 19:57:31 UTC}} flags=[]
78686
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7390ms
78687
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 1.0760ms
78688
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:31 -0400}} flags=[:multi]
78689
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.7510ms
78690
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4650ms
78691
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4480ms
78692
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3720ms
78693
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.5700ms
78694
+ 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.4700ms
78695
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4540ms
78696
+ 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.3750ms
78697
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (14.7ms)
78698
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (52.9ms)
78699
+ 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.6450ms
78700
+ Completed 200 OK in 243ms (Views: 145.8ms)
78701
+
78702
+
78703
+ Started GET "/forums/topics/5526b5814e6569535b070000/unsubscribe" for ::1 at 2015-04-09 15:57:33 -0400
78704
+ Processing by MongoidForums::TopicsController#unsubscribe as HTML
78705
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78706
+ 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.5400ms
78707
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5690ms
78708
+ 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.5070ms
78709
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5720ms
78710
+ 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.4380ms
78711
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6520ms
78712
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>true, "updated_at"=>2015-04-09 19:57:33 UTC}} flags=[]
78713
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4740ms
78714
+ Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000
78715
+ Completed 302 Found in 13ms
78716
+
78717
+
78718
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:33 -0400
78719
+ Processing by MongoidForums::TopicsController#show as HTML
78720
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78721
+ 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.5400ms
78722
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4240ms
78723
+ 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.6040ms
78724
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5250ms
78725
+ 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.6010ms
78726
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5770ms
78727
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78728
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.5370ms
78729
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78730
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3490ms
78731
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:31 UTC, "current_viewed_at"=>2015-04-09 19:57:33 UTC, "updated_at"=>2015-04-09 19:57:33 UTC}} flags=[]
78732
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4370ms
78733
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7890ms
78734
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:33 -0400}} flags=[:multi]
78735
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.6540ms
78736
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.9660ms
78737
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5420ms
78738
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3430ms
78739
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4000ms
78740
+ 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.3220ms
78741
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3440ms
78742
+ 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.2790ms
78743
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms)
78744
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (13.6ms)
78745
+ 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.4270ms
78746
+ Completed 200 OK in 66ms (Views: 48.6ms)
78747
+
78748
+
78749
+ Started GET "/forums/topics/5526b5814e6569535b070000/subscribe" for ::1 at 2015-04-09 15:57:34 -0400
78750
+ Processing by MongoidForums::TopicsController#subscribe as HTML
78751
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78752
+ 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.4440ms
78753
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3070ms
78754
+ 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.2700ms
78755
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3970ms
78756
+ 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.3540ms
78757
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4490ms
78758
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "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: 0.4670ms
78759
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_subscriptions selector={"_id"=>BSON::ObjectId('5526b5814e6569535b090000')} update={"$set"=>{"unsubscribed"=>false, "updated_at"=>2015-04-09 19:57:34 UTC}} flags=[]
78760
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4440ms
78761
+ Redirected to http://localhost:3000/forums/topics/5526b5814e6569535b070000
78762
+ Completed 302 Found in 10ms
78763
+
78764
+
78765
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:34 -0400
78766
+ Processing by MongoidForums::TopicsController#show as HTML
78767
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78768
+ 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.6720ms
78769
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3750ms
78770
+ 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.4330ms
78771
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.5940ms
78772
+ 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.4490ms
78773
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6410ms
78774
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78775
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3770ms
78776
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78777
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3150ms
78778
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:33 UTC, "current_viewed_at"=>2015-04-09 19:57:34 UTC, "updated_at"=>2015-04-09 19:57:34 UTC}} flags=[]
78779
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4930ms
78780
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7090ms
78781
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:34 -0400}} flags=[:multi]
78782
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4810ms
78783
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4570ms
78784
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.5470ms
78785
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.4240ms
78786
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.6570ms
78787
+ 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.4760ms
78788
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3530ms
78789
+ 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.3060ms
78790
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (5.1ms)
78791
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (14.9ms)
78792
+ 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.5310ms
78793
+ Completed 200 OK in 65ms (Views: 49.0ms)
78794
+
78795
+
78796
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:36 -0400
78797
+ Processing by MongoidForums::TopicsController#show as HTML
78798
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78799
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.4270ms
78800
+ 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.4540ms
78801
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.3810ms
78802
+ 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.3100ms
78803
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4580ms
78804
+ 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.2950ms
78805
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "viewable_type"=>"MongoidForums::Topic", "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5230ms
78806
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$inc"=>{"count"=>1}} flags=[]
78807
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4040ms
78808
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} update={"$inc"=>{"views_count"=>1}} flags=[]
78809
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3290ms
78810
+ MOPED: 127.0.0.1:27017 UPDATE database=dummy_development collection=mongoid_forums_views selector={"_id"=>BSON::ObjectId('5526b5814e6569535b0a0000')} update={"$set"=>{"past_viewed_at"=>2015-04-09 19:57:34 UTC, "current_viewed_at"=>2015-04-09 19:57:37 UTC, "updated_at"=>2015-04-09 19:57:37 UTC}} flags=[]
78811
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.3670ms
78812
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_subscriptions selector={"$query"=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4390ms
78813
+ 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('5526b5814e6569535b090000')} update={"$set"=>{"read"=>true, "ready_at"=>2015-04-09 15:57:37 -0400}} flags=[:multi]
78814
+ COMMAND database=dummy_development command={:getlasterror=>1, :w=>1} runtime: 0.4170ms
78815
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4060ms
78816
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_subscriptions", :query=>{"subscribable_id"=>BSON::ObjectId('5526b5814e6569535b070000'), "subscribable_type"=>"MongoidForums::Topic", "subscriber_id"=>BSON::ObjectId('54c407ca4e65694706000000'), "unsubscribed"=>false}} runtime: 0.4400ms
78817
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.3650ms
78818
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.4720ms
78819
+ 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.3630ms
78820
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3470ms
78821
+ 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.3030ms
78822
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (4.5ms)
78823
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.7ms)
78824
+ 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.4650ms
78825
+ Completed 200 OK in 95ms (Views: 38.0ms)
78826
+
78827
+
78828
+ Started GET "/forums" for ::1 at 2015-04-09 15:57:38 -0400
78829
+ Processing by MongoidForums::ForumsController#index as HTML
78830
+ 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.6320ms
78831
+ 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.7120ms
78832
+ 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.8930ms
78833
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4010ms
78834
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.6730ms
78835
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.5960ms
78836
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_views selector={"$query"=>{"viewable_id"=>BSON::ObjectId('5526b8184e65695685000000'), "user_id"=>BSON::ObjectId('54c407ca4e65694706000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.7970ms
78837
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 1.3680ms
78838
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.6940ms
78839
+ 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.6130ms
78840
+ 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.6920ms
78841
+ 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.0350ms
78842
+ 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.5990ms
78843
+ 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.5040ms
78844
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6950ms
78845
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5350ms
78846
+ 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.8960ms
78847
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 5.3580ms
78848
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 4.2680ms
78849
+ 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.7960ms
78850
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (81.6ms)
78851
+ 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.8560ms
78852
+ Completed 200 OK in 307ms (Views: 304.5ms)
78853
+
78854
+
78855
+ Started GET "/" for ::1 at 2015-04-09 15:57:39 -0400
78856
+ Processing by WelcomeController#index as HTML
78857
+ Rendered welcome/index.html.erb within layouts/application (0.5ms)
78858
+ 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.8150ms
78859
+ Rendered partials/_nav.haml (4.0ms)
78860
+ Completed 200 OK in 69ms (Views: 69.2ms)
78861
+
78862
+
78863
+ Started GET "/users/sign_out" for ::1 at 2015-04-09 15:57:40 -0400
78864
+ Processing by Devise::SessionsController#destroy as HTML
78865
+ 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.4950ms
78866
+ Redirected to http://localhost:3000/
78867
+ Completed 302 Found in 6ms
78868
+
78869
+
78870
+ Started GET "/" for ::1 at 2015-04-09 15:57:40 -0400
78871
+ Processing by WelcomeController#index as HTML
78872
+ Rendered welcome/index.html.erb within layouts/application (0.1ms)
78873
+ Rendered partials/_nav.haml (5.8ms)
78874
+ Completed 200 OK in 36ms (Views: 36.0ms)
78875
+
78876
+
78877
+ Started GET "/" for ::1 at 2015-04-09 15:57:42 -0400
78878
+ Processing by WelcomeController#index as HTML
78879
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
78880
+ Rendered partials/_nav.haml (0.4ms)
78881
+ Completed 200 OK in 29ms (Views: 28.4ms)
78882
+
78883
+
78884
+ Started GET "/forums" for ::1 at 2015-04-09 15:57:42 -0400
78885
+ Processing by MongoidForums::ForumsController#index as HTML
78886
+ MOPED: 127.0.0.1:27017 COMMAND database=admin command={:ismaster=>1} runtime: 0.5790ms
78887
+ 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.5370ms
78888
+ 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.5580ms
78889
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4250ms
78890
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4760ms
78891
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('5526b8184e65695685000000')}} runtime: 0.4270ms
78892
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_forums selector={"$query"=>{"category_id"=>BSON::ObjectId('5526b77d4e65695660000000')}, "$orderby"=>{"position"=>1}} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4440ms
78893
+ 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.4230ms
78894
+ 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.4550ms
78895
+ 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.5790ms
78896
+ 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.5100ms
78897
+ 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.5530ms
78898
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.6260ms
78899
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"$query"=>{"_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5690ms
78900
+ 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.5100ms
78901
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5110ms
78902
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_topics", :query=>{"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000')}} runtime: 0.5490ms
78903
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/index.haml within layouts/mongoid_forums/application (27.9ms)
78904
+ Completed 200 OK in 86ms (Views: 84.5ms)
78905
+
78906
+
78907
+ Started GET "/forums/55215f4a4e656917a2020000" for ::1 at 2015-04-09 15:57:45 -0400
78908
+ Processing by MongoidForums::ForumsController#show as HTML
78909
+ Parameters: {"id"=>"55215f4a4e656917a2020000"}
78910
+ 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.4130ms
78911
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3710ms
78912
+ 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.3440ms
78913
+ 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.7100ms
78914
+ 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.4340ms
78915
+ 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.7030ms
78916
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.4880ms
78917
+ 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
78918
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{:_id=>-1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.5540ms
78919
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5720ms
78920
+ 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.5210ms
78921
+ 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.4270ms
78922
+ 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.4970ms
78923
+ 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.7660ms
78924
+ 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.7690ms
78925
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5525f1ee4e65693c78020000')}} runtime: 0.4010ms
78926
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/forums/show.haml within layouts/mongoid_forums/application (32.5ms)
78927
+ Completed 200 OK in 80ms (Views: 71.8ms)
78928
+
78929
+
78930
+ Started GET "/forums/topics/5526b5814e6569535b070000" for ::1 at 2015-04-09 15:57:47 -0400
78931
+ Processing by MongoidForums::TopicsController#show as HTML
78932
+ Parameters: {"id"=>"5526b5814e6569535b070000"}
78933
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4720ms
78934
+ 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.3320ms
78935
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_topics selector={"forum_id"=>BSON::ObjectId('55215f4a4e656917a2020000'), "_id"=>BSON::ObjectId('5526b5814e6569535b070000')} flags=[] limit=0 skip=0 batch_size=nil fields=nil runtime: 0.4930ms
78936
+ 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.3040ms
78937
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_categories selector={"$query"=>{"_id"=>BSON::ObjectId('55215dce4e656917a2000000')}, "$orderby"=>{:_id=>1}} flags=[] limit=-1 skip=0 batch_size=nil fields=nil runtime: 0.3890ms
78938
+ MOPED: 127.0.0.1:27017 COMMAND database=dummy_development command={:count=>"mongoid_forums_posts", :query=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}} runtime: 0.5080ms
78939
+ MOPED: 127.0.0.1:27017 QUERY database=dummy_development collection=mongoid_forums_posts selector={"$query"=>{"topic_id"=>BSON::ObjectId('5526b5814e6569535b070000')}, "$orderby"=>{"created_at"=>1}} flags=[] limit=20 skip=0 batch_size=nil fields=nil runtime: 0.7390ms
78940
+ 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.5080ms
78941
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/posts/_post.haml (3.0ms)
78942
+ Rendered /Users/neiljohari/Desktop/Programming/NJayDevelopment/forums/mongoid_forums/app/views/mongoid_forums/topics/show.haml within layouts/mongoid_forums/application (11.0ms)
78943
+ Completed 200 OK in 55ms (Views: 48.7ms)